Commit Graph

1262 Commits

Author SHA1 Message Date
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
John Daggett
b508241aa7 Bug 468387. (reland) Fix Windows Mobile bustage. r=blassey 2009-04-02 17:08:11 +09:00
John Daggett
ba340eb217 Bug 468387 - (reland) disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 17:06:33 +09:00
John Daggett
919f22487f Bug 468387. Reverting eb0b999b2f70 and 8d60bedd277b due to tinderbox crash. 2009-04-02 14:48:23 +09:00
John Daggett
a591dec56a Bug 468387. Fix Windows Mobile bustage. r=blassey 2009-04-02 13:59:13 +09:00
John Daggett
d50bda3d4a Bug 468387 - disable synthetic faces for downloadable fonts on Windows already specified as bold/italic. r=vlad 2009-04-02 10:35:59 +09:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Jonathan Kew
b8455d097f Bug 481948. Rework Coretext glyph extraction code to mirror ATSUI improvements. r=roc
--HG--
extra : rebase_source : 70f67974136073b1c1c38ebe43bb2bd113770cfd
2009-04-25 20:24:25 +12:00
Jonathan Kew
5d21240dc8 Bug 481948. Rework ATSUI glyph-extraction code to be more robust when glyphs are reordered. r=roc
--HG--
extra : rebase_source : 6175292f747cca9a284e69f89fe3e59bc3efd9c6
2009-04-25 20:23:57 +12:00
Kenneth Waters
518ee9b649 b=488910,b=484864; fix directdraw path for aliased windows that aren't within screen bounds; r=vlad 2009-04-24 12:00:13 -07:00
Bob Clary
8be1321be7 bug 389326 - crash test by Jesse Ruderman. 2009-04-24 10:08:21 -07:00
Bob Clary
3585a194d9 bug 376627 - crash test by Jesse Ruderman. 2009-04-24 10:08:18 -07:00
Bob Clary
39f5fd000f bug 348462 - crash test by Gilberto Ficara, Mats Palmgren. 2009-04-24 10:08:15 -07:00
Bob Clary
e1c84598e5 bug 333861 - crash test by Georgi Guninski. 2009-04-24 10:08:12 -07:00
Karl Tomlinson
104728a6f7 b=489445 override PangoFcFontClass::get_glyph r=roc
--HG--
extra : rebase_source : c7c0d843f523f352958680d57d95d55561e2f4ee
2009-04-24 09:13:02 +12:00
Peter Weilbacher
ad01d91539 Bug 488468: qcms build break with pre-4 GCCs (#if 0 commented text should be C/C++ commented), r=jmuizelaar 2009-04-23 19:38:11 +02:00
Takuro Ashie
02663f439e b=489511; gfxFontCache will never hit on ft2 backend; r=karlt 2009-04-22 22:29:47 -07:00
Vladimir Vukicevic
fbe675ca3e remove trailing comma for picky compilers 2009-04-22 18:13:05 -07:00
Vladimir Vukicevic
8d3ecbe8b5 b=488910, cairo ddraw backend for wince (configure bits); r=vlad 2009-04-22 17:48:30 -07:00
cmills@nvidia.com
10eebb0922 b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Jeff Muizelaar
dcd83451a6 Bug 488955 - Fix linear gamma input tables, used in iCCP PNG testsuite images. r=joe 2009-04-22 13:49:09 -04:00
Jonathan Kew
88f6bdf54a Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X 10.4 SDK builds right now due to Mac OS X 10.4 not supporting Core Text. Try #2. b=389074 r=jdaggett 2009-03-29 17:31:51 -07:00
Josh Aas
0162becb16 merge backout of e413694940b3 2009-03-27 14:33:47 -07:00
Josh Aas
6b7004be86 Backed out changeset e413694940b3 2009-03-27 14:32:49 -07:00
Jonathan Kew
79ce3cb6da Bug 485351 - Hang [@ gfxWindowsFont::ComputeMetrics] and eating up all GDI resources with percentage height, mathml and binding; GDI resource exhaustion; r=roc
Fix Windows DC leak in TestCharacterMap, and avoid accumulation of temporary fonts in the cache leading to resource exhaustion.
2009-03-27 18:54:40 +01:00
Jonathan Kew
3f8d20bfc2 Add Core Text backend, will eventually replace ATSUI. Turned off for 32-bit Mac OS X builds right now due to Mac OS X 10.4 not supporting Core Text. b=389074 r=jdaggett 2009-03-27 10:18:35 -07:00
Tobias Hunger
8e3eaf819f Bug 485156 - cairo-qt fails to build; r=vladimir 2009-03-27 00:49:22 +01:00
Joe Drew
ee95bbe143 Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me 2009-03-23 21:53:40 -04:00
Brad Lassey
f3bac9a079 bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad 2009-03-21 14:58:42 -04:00
Robert Longson
7235fc714e Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Jeff Muizelaar
5f2479036b Bug 484076 - Fix Windows CE build. 2009-03-20 16:46:52 -04:00
Joe Drew
8fb1293b2a Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad 2009-03-20 16:02:45 -04:00
Taras Glek
baedec4628 Bug 483425 - memory leak fix + testcase r=vlad 2009-03-19 11:45:07 -07:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Jeff Muizelaar
687a288853 Bug 484076 - Update pixman and cairo to newer upstream versions. r=vlad
Pixman revision is 072d848f592530973f1f0a0066a320ec5965625c
Cairo revision is 3ec94f9b5917b8f71304c982bd153e5a810f3b12
2009-03-19 13:34:17 -04:00
Taras Glek
56e7a314a4 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 11:42:07 -07:00
Taras Glek
ca9b9b26ab Backed out changeset 9d34172f942f 2009-03-18 10:20:50 -07:00
Taras Glek
53e7be3128 Bug 477708 - expose nsIRegion::getrects() to scripts r=vlad 2009-03-18 09:53:34 -07:00
Taras Glek
c59c7d5701 Bug 477708 - backout previous numRects, getRect attempt r=vlad 2009-03-18 09:53:14 -07:00
Hiroyuki Ikezoe
bbb6687b44 Bug 480249 - gfxWindowsPlatform::ResolveFontName() almost fails since direct access to mName member.; r=jdaggett 2009-03-18 17:07:33 +01:00
Karl Tomlinson
b16ecea3e6 b=480098 correct weight units in gfxFcFontEntry::AdjustPatternToCSS r=roc
--HG--
extra : rebase_source : 79604f227fc80720e4df479f1d8929f5c21623f2
2009-03-11 15:00:43 +13:00
John Daggett
a46d0e5b0d Bug 480267. (reland) Use guid as fontname for downloaded fonts. r=vlad 2009-03-11 10:00:44 +09:00
Joe Drew
4a46cbf6b3 Backed out changeset 635b1c8783a6 - bug 480267 - because it seems to have
caused a reftest failure.
2009-03-10 12:25:05 -04:00
John Daggett
8bb06b5797 Bug 480267. Use guid as fontname for downloaded fonts. r=vlad 2009-03-10 22:21:17 +09:00
L. David Baron
d2e251ca18 Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky 2009-03-09 16:14:34 -07:00
Robert O'Callahan
f3b2957816 Bug 481697 - TextRunWordCache::MakeTextRun: Mismatched free() / delete / delete []; r=vladimir 2009-03-08 10:39:00 +01:00
Jonathan Kew
3898e3ebbd b=480507, don't crash if no fonts found in Windows font family; r+sr=vlad 2009-03-03 11:14:07 -08:00
Vladimir Vukicevic
8bd28d0be6 b=481138; no, really fix pixman_have_arm_simd; r=vlad 2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe
18b2c3c2c9 b=481138; initialize not set in pixman_have_arm_simd; r=vlad 2009-03-02 23:58:29 -08:00
Jeff Muizelaar
5662166154 b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad 2009-02-26 12:03:51 -08:00
Jonathan Kew
3c011596d4 Bug 474819 - Correct the sign of baseline offsets in ATSUI font backend. r=roc 2009-02-26 19:58:31 +13:00
John Daggett
1bd0a47708 Bug 475164 - accept fonts that have null name records. r=vlad 2009-02-25 16:12:53 +09:00
Mats Palmgren
9cc610fb58 Initialize mColor to fix UMR. b=480032 r+sr=vladimir 2009-02-25 02:42:52 +01:00
Jonathan Kew
fd2275af79 Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc 2009-02-24 17:53:31 +01:00
Jonathan Kew
94391277aa Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
John Daggett
09c1d60aaf Bug 420981 - special case handling of UltraLight faces under Mac OS X 10.5 to work around Apple bug. r=vlad 2009-02-23 15:55:07 +09:00
John Daggett
435805d7e3 Bug 479152 - increment generation when local font used after external font fails to load. r=karl, sr=roc 2009-02-23 13:40:47 +09:00
Arpad Borsos
8d7dec737d Bug 474369 - get rid of nsVoidArray; gfx part; r+sr=vladimir 2009-02-23 02:05:26 +01:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
Jeremy D. Lea
b9a1696e34 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Ginn Chen
79dc3ef179 Bug 478842 gfxColorManagementTest.cpp failed to build on Solaris r=bholley 2009-02-18 19:44:18 +08:00
John Daggett
b6a67504da Bug 476724 - clean out Windows-specific flags from gfxFontEntry. r=vlad 2009-02-18 16:33:39 +09:00
Serge Gautherie
5ec9f53e89 Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
John Daggett
f6a9b98bb2 Bug 465463 - use style attributes defined in @font-face rule (Mac OS X). r=vlad 2009-02-12 13:08:00 +09:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
John Daggett
a244d7442f Bug 476504 - handle errors in fetching font metrics. r=vlad 2009-02-11 10:07:50 +09:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Vladimir Vukicevic
248b4fb004 b=477727; remove calls to GetViewportOrgEx; r=stuart 2009-02-10 15:10:07 -08:00
Taras Glek
ed53b751bc Bug 477708 - expose nsIRegion::getrects() to scripts r=stuart 2009-02-10 15:10:07 -08:00
Jonathan Kew
0f7bed9806 Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
mats.palmgren@bredband.net
45003eeb68 Bug 477498, Crash [@ TextRunWordCache::MakeTextRun], r+sr=roc 2009-02-09 12:23:38 +02:00
Gavin Sharp
4a266abf3a Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
L. David Baron
d9b03ef68c Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc 2009-02-06 08:52:13 -08:00
Boris Zbarsky
12268cb6f3 Bug 476724. Recompute underline offsets when user fonts load, and make sure to initialize all our members. r=jdaggett, sr=roc 2009-02-05 18:10:39 -05:00
Peter Van der Beken
c7cd1879ac Backed out changeset d679ac3a8de0 - merge 2009-02-05 15:35:01 +01:00
Peter Van der Beken
92a04a1aa2 Backed out changeset d679ac3a8de0 (Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad) to fix orange. 2009-02-05 15:34:12 +01:00
Jonathan Kew
377a2dbc2b Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad 2009-02-05 21:06:14 +13:00
Arpad Borsos
e642432ec3 Bug 476805. Stop leak by avoiding double refs. r+sr=roc 2009-02-04 14:21:02 +01:00
Zack Weinberg
6333d75a8d Bug 455364. Add Thebes API to extract a subimage of an image into a new image. r=vlad 2009-02-05 21:14:07 +13:00
Jeff Muizelaar
02e67c8924 Bug 474886 - Allow rank 0 matrices when setting the font matrix. r=vlad p=jrmuizel
cairo_scaled_font_init() allows rank 0 matrics so cairo_set_font_matrix
should too. This keeps us from accidentally breaking our cairo context
and causing things to draw wrong.
2009-02-04 14:07:59 -05:00
Marco Bonardo
78ecec1a5c Backed out changeset 8a79415ac146 due to persistent orange on OS X unit test boxes 2009-02-04 11:50:07 +01:00
Boris Zbarsky
586e118dfb Bug 476724. Recomputed underline offset after we rebuild our font set. r+sr=roc 2009-02-03 21:58:21 -05:00
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Robert O'Callahan
4be9b53e45 Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew
deb175c5fe Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
--HG--
extra : rebase_source : 30a3730fd3db418854462cc31dc0ee06c7f56ae0
2009-01-30 20:15:08 +13:00
L. David Baron
f8774a93ef Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
L. David Baron
e0ea655b2f Separate previously-copied font constants into their own file and have them in one place rather than three. (Bug 3512) r=vlad 2009-01-29 12:39:18 -08:00
Doug Turner
258e5fb771 Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart 2009-01-28 15:39:13 -08:00
Robert O'Callahan
22f6e75208 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Jonathan Kew
60f93b5c99 Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad 2009-01-28 22:41:34 +13:00
Jonathan Kew
32f03bfe64 Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod
4c0f61c5b8 Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00