Commit Graph

1348 Commits

Author SHA1 Message Date
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
Ginn Chen
ee8de8237d Bug 474758 FcFontSetSort() crashes on Solaris r=karlt 2009-01-23 16:24:36 +08:00
Brad Lassey
20580be9af bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey
2f6351583f bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad 2009-01-23 01:24:29 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Ehsan Akhgari
3beeff12e4 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Doug Turner
aece1e91a5 Bug 468399. Use image surfaces on windows mobile for performance reasons. r=vlad 2009-01-14 16:19:39 -08:00
Robert Kaiser
98708dc7f6 bug 464687 - --enable-tests static build bustage in thebes/test, r=vlad 2009-01-14 14:48:33 +01:00
Josh Aas
fb9e620bcf Port gfx to 64-bit Mac OS X, part 1. b=489354 r=jfkthame sr=roc 2009-04-22 09:08:09 -04:00
Vladimir Vukicevic
627ce5ccc2 b=488685; cruft in GIF image; r=joe,roc 2009-04-21 21:33:37 -07:00
Jeff Muizelaar
c0df7d0be6 Bug 488747 - Fix endian handling in qcms. r=joe 2009-04-21 22:22:29 -04:00
Jeff Muizelaar
eafab45f5f Bug 489133 - Handle bad cHRM chunks in PNGs. r=joe 2009-04-21 22:21:48 -04:00
Jeff Muizelaar
ee1d6829e8 Bug 489133 - Fix handling of bad whitepoints in PNGs. r=joe 2009-04-21 22:21:13 -04:00
Jeremy Huddleston
5bd30ed4bf Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad 2009-04-20 18:36:37 +02:00
Hiroyuki Ikezoe
6f9d637b5a Bug 484083 - Should load TruType Collection file too; r=bugmail@lassey.us sr=jdaggett 2009-04-18 20:02:26 +02:00
Karl Tomlinson
040ed7df68 Bug 478871: Switch to new_font() and default_substitute() functions from Pango API to fix compile issues with newer pango versions. r=behdad sr=roc 2009-04-17 12:51:43 -07:00
Makoto Kato
88bf4b3164 Bug 487900 - Enable SSE2 code for x86_64 in qcms. r=jmuizelaar 2009-04-15 22:14:03 +09:00
Ginn Chen
d5d68e26e8 Bug 487765 - Fix qcms build problems on Solaris. r=jrmuizel 2009-04-14 11:25:31 -04:00
Marco Perez
89b61ac4ab Bug 487754 - Problems building qcms on FreeBSD. r=jrmuizel 2009-04-14 11:08:23 -04:00
Jonathan Kew
ac8a90641d Bug 487549. Do kern table sanity checks on downloaded fonts. r=roc 2009-04-14 17:48:32 +09:00
Hiroyuki Ikezoe
58ec17ed6b bug 486621 - Should close file handle in gfxWindowsPlatform::FindFonts() r=vlad 2009-04-13 22:49:06 -04:00
Hiroyuki Ikezoe
36a0869dc8 bug 486624 - AppendFacesFromFontFile is called twice for the same font file r=blassey, vlad 2009-04-13 22:49:06 -04:00
John Daggett
f9e721b5df Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09:00
Jesse Ruderman
d740af5b78 Add supercombiner as a crashtest 2009-01-12 19:46:35 -08:00
Vladimir Vukicevic
9a9bf694ce b=455243, weird behaviour with fonts with bad faces; r=jdaggett 2009-01-12 11:23:41 -08:00
Robert O'Callahan
cca5e6840b Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2009-01-09 13:23:28 +13:00
Vladimir Vukicevic
86e71c7136 b=469916, lcms error when trying to open 0-sized profile; r=bholley 2009-01-07 11:50:14 -08:00
Dão Gottwald
98ef582b97 Bug 471923 - kill tab-left-edge and tab-right-edge -moz-appearance values. r+sr=roc 2009-01-04 15:01:48 +01:00
Arpad Borsos
318ec6121d Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Karl Tomlinson
cbb1b6e85c b=469752 don't increment generation after LookupLocalFont in gfxUserFontSet::LoadNext r=jdaggett 2009-01-03 16:28:46 +13:00
Karl Tomlinson
2f1d5faf21 b=468218 @font-face { src:local() } for GTK/Pango r=roc 2009-01-03 16:21:49 +13:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Jonathan Kew
29eda950fd Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc 2009-01-01 16:34:13 +03:30
timeless
bdc69a7830 Bug 469019 - gfxRect shouldn't be forward declared as a class; fixing forward declaration to match impl; r=(bzbarsky + longsonr) sr=roc 2008-12-30 06:34:56 +01:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
John Daggett
2a4d02ca3f Bug 458160 - Enable downloadable .otf fonts under Windows. r=roc, sr=vlad. 2008-12-22 14:01:14 +09:00
Jonathan Kew
67c4fb088c Bug 463806 - [PATCH][@font-face] Downloaded font activation on Mac may fail due to ATS cache corruption; r=(jdaggett + roc) sr=roc 2008-12-21 02:26:18 +01:00
Jeff Muizelaar
b584a627ba Bug 467423 - Painting stops in this case, using -moz-transform: scale, rotate and video; r=vladimir 2008-12-20 01:59:17 +01:00
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Robert O'Callahan
9f318c485c Backed out changeset dcd1ad7a918e 2008-12-18 16:05:16 +13:00
Robert O'Callahan
274f89ff0d Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-18 14:13:23 +13:00
Justin Dolske
d3824f41d2 Merge backout of 98ea743c9156 (bug 463806) due to crashes on OS X 10.4 Talos boxes. 2008-12-17 13:02:57 -08:00
Justin Dolske
8c26100351 Backed out changeset 98ea743c9156 (Bug 463806) due to crashes on OS X 10.4 talos boxes. 2008-12-17 13:01:30 -08:00
Robert O'Callahan
25641e6ca4 Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Jonathan Kew
7d6268244e Bug 463806. Work around transient ATS cache failures on Mac. r=jdaggett,sr=roc
--HG--
extra : rebase_source : af01b4cb3e9b09be52bd07b98b422b0834f21027
2008-12-17 13:24:30 +13:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Robert O'Callahan
46299947fc Backed out changeset 0cb24a4bcd9b 2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-12 21:37:59 +13:00
John Daggett
4e18b0296a Bug 460037 - Fix crasher in font loader when closing windows. r+sr=roc 2008-12-12 16:31:51 +09:00
Brad Lassey
d11d06e680 Bug 465554 - gtk build fails in gfxPlatformGtk.cpp with --disable-pango r=stuart 2008-12-11 11:50:31 -08:00
Markus Stange
975559338c Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc 2008-12-11 15:37:38 +01:00
Robert O'Callahan
d980ae8005 Bug 467518. Interpret gfxBlur's border radius properly, as the actual boundary of the shadow, not the box-blur size. r=vlad 2008-12-08 13:59:21 +13:00
Robert O'Callahan
10f2d6de05 Bug 466268. Fix cairo-win32 bug that needed MOD but was using the C % operator. r=jmuizelaar 2008-12-08 13:54:10 +13:00
Bobby Holley
263791c64a LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
Bobby Holley
6a4d40ce2a LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Bobby Holley
98c991946c Disable fatal LCMS errors earlier in thebes - bug 458164. r=joe 2008-12-06 22:24:25 -08:00
Michael Ventnor
e758b80cd9 Bug 468018 - Optimize box-shadow rendering even further by doing more intersections; r=vladimir 2008-12-06 19:54:36 +01:00
Markus Stange
0a9202e6cc Bug 450800 - Add -moz-appearance: searchfield on Mac OS X; general NSCell drawing cleanup. r=smichaud sr=roc 2008-12-06 12:40:58 +01:00
Karl Tomlinson
f88fbd52e6 b=462798 fixage: add NS_VISIBILITY_DEFAULT to cairo_ft_font_options_substitute declaration 2008-12-06 18:06:42 +13:00
Karl Tomlinson
f483d9cdde b=462798 don't pass cairo_font_options_t* between system and moz cairo. r=vlad 2008-12-06 12:24:49 +13:00
Karl Tomlinson
f091bb1b37 b=458169 @font-face { src: url() } for Linux. r=roc 2008-12-06 12:19:27 +13:00
Karl Tomlinson
d6b71782c0 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar
c7a141b60d Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Zack Weinberg
d6ddf74552 Bug 459148 - use thebes primitives for SVG rounded rects - r=longsonr,vlad sr=roc 2008-12-04 21:01:37 -08:00
L. David Baron
c95d61afc0 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Makoto Kato
f7acc6c08f Bug 447982 - Disable MMX on x86-64 and ARM when using MSVC. r/sr=vladimir 2008-12-04 22:44:55 +09:00
Doug Turner
3bd692715b Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Robert O'Callahan
38bbc69620 Bug 463307. Convert to float a bit earlier to avoid integer overflow. r+sr=dbaron 2008-12-03 14:32:18 +13:00
Michael Ventnor
ae307da934 Bug 463938. Don't use nearest-neighbour sampling for downscaling; the X bug workaround is only needed for upscaling (we hope). r=vlad 2008-12-03 14:25:58 +13:00
Jonathan Kew
fceb922a63 Bug 467228. Disable line start/end swashes on Mac since we don't support line-boundary shaping properly yet. r=roc 2008-12-03 09:58:41 +13:00
Robert O'Callahan
b72f6882fb Bug 467283. Ignore dirty rect when doing any image resampling --- it will lead to artifacts. r+sr=dbaron,r=vlad 2008-12-03 09:46:44 +13:00
Oleg Romashin
1157f3f93b Bug 463872 - Cairo-qpainter build is broken after latest cairo update. missing part. r=vladimir. 2008-12-02 22:11:04 -05:00
Peter Weilbacher
c2e3b4b5f9 [OS/2] No Bug: add minor change and comment to gfxOS2FontGroup::FontCallback; fix debug output for missing fonts 2008-12-02 20:36:12 +01:00
Peter Weilbacher
3e4f690e27 Bug 466956: fix alias check in gfxFontconfigUtils::ResolveFontName for correct return value, r=karlt, sr=roc 2008-12-02 20:29:17 +01:00
Shawn Wilsher
309088efe4 Backed out changeset 0586ee185c87 (bug 460629) to investigate possible performance regression (bug 467102) 2008-11-28 11:02:01 -08:00
Bobby Holley
020c84f8c9 Bug 460629 - Bogus ICC profile detection for LCMS.r=vlad,a191=beltzner 2008-11-28 10:17:32 +01:00
Peter Weilbacher
07829fa6d0 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Robert O'Callahan
e2d6438f48 Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
John Daggett
0d24013534 Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
Peter Weilbacher
b39d47dffa [OS/2] implement (but not yet activate) synthetic oblique using font matrix skewing in gfxOS2Font::CairoScaledFont 2008-11-26 20:13:43 +01:00
Peter Weilbacher
962a68d018 [OS/2] de-indent gfxOS2Font::GetMetrics and get a few improvements that were added to gfxFT2Font in the meantime 2008-11-26 20:12:52 +01:00
Peter Weilbacher
50bccbc11f [OS/2] remove two unused, already commented, code lines from gfxOS2Platform.cpp 2008-11-26 20:12:52 +01:00
Jonathan Kew
c47d6406d1 fix uninitialized variable causing incorrect fallback font selection (bug 451426) r=roc sr=roc 2008-11-26 10:13:02 -08:00
Brad Lassey
ea8dd114d1 backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp. 2008-11-26 12:20:26 -05:00
Robert O'Callahan
6dd228bfdc Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron 2008-11-26 11:53:58 +13:00
L. David Baron
e1fd81e8d3 Check that the user font set matches before returning an entry from the font cache. (Bug 457821) r=jdaggett sr=roc a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
L. David Baron
4c4b3cbb89 Remove gfxFontLoaderContext, which seems to be replaced by gfxUserFont::LoaderContext. (Bug 457821) r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Peter Weilbacher
a2df934c69 [OS/2] Bug 465691: make sure that we matched a font before using it and rename "Deja Vu" to "DejaVu", r=wuno@lsvw, a191b2=beltzner (CLOSED TREE) 2008-11-24 20:18:39 +01:00
Peter Weilbacher
a89bc58087 [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) 2008-11-24 20:18:15 +01:00
Jeff Muizelaar
679549b8b6 pixman doesn't support 0x0 images so ensure we don't ever create them.
b=463301 p=jrmuizel r=vlad a=blocking191
2008-11-13 16:25:37 -05:00
Vladimir Vukicevic
57d028fd89 b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic
874c9f49d5 b=455513; add optional flag to allow converting a DDB to a DIB internally, if the surface is every used as a source; r=jmuizelaar
If a DDB is used as a source for an operation that can't be handled
natively by GDI, we end up needing to take a really slow path (creating a
temporary surface for acquire_source) for each operation.  If we convert
the DDB to a DIB, we then end up having a real image buffer and can hand
things off to pixman directly.

This isn't the default mode because I'm not sure if there are cases where a
DDB is explicitly needed (e.g. for printing), and it would change
current cairo behaviour.  It might become the default at some point in the
future.
2008-11-09 15:40:55 -08:00
Vladimir Vukicevic
6450cdc188 b=424333; BadAlloc under X when viewing extremely large images; r=joe 2008-11-09 15:39:41 -08:00
Karl Tomlinson
e0924b37f5 b=449356 remove accidentally added code 2008-11-07 15:37:52 +13:00
Karl Tomlinson
18dae13b06 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 15:21:34 +13:00
Robert O'Callahan
b781aa0ad5 Bug 456330. Fix translation to account for top/left padding. r=vlad 2008-11-07 13:56:57 +13:00
Karl Tomlinson
0860a21e5b backout b=449356 9621d305de92 2008-11-07 10:49:14 +13:00
Karl Tomlinson
8dfecc605a b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-07 09:39:06 +13:00
Simon Montagu
785ffb9b41 Detect clusters in Indic scripts where an initial RA is reordered after the following consonant and vowel. Bug 428317, r=roc 2008-11-06 02:02:51 -08:00
Vladimir Vukicevic
2d70839dd0 b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [cairo piece] 2008-11-05 23:48:23 -08:00
Vladimir Vukicevic
01a74357fd b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [pixman piece]
--HG--
rename : gfx/cairo/libpixman/src/pixman-arm.c => gfx/cairo/libpixman/src/pixman-arm-simd.c
rename : gfx/cairo/libpixman/src/pixman-arm.h => gfx/cairo/libpixman/src/pixman-arm-simd.h
2008-11-05 23:48:20 -08:00
John Daggett
e5a0f4c565 Bug 457825 - Support access control headers when downloading fonts. r=jonas,dbaron, sr=jonas 2008-11-06 09:32:12 +09:00
Karl Tomlinson
6c652e85ab backout b=449356 e8665c7cfdf2 and 20113c4780d2 2008-11-06 12:26:22 +13:00
Karl Tomlinson
58ea9f42df b=449356 remove stray "static" keyword 2008-11-06 11:48:20 +13:00
Karl Tomlinson
6ac7784544 b=449356 font selection through Mozilla's PangoFcFontMap, r=roc 2008-11-06 11:14:02 +13:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Doug Turner
d3da9fb1a3 WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner
24883a0c29 Fix build bustage in 462911. We need to either build printing or define CAIRO_OMIT_WIN32_PRINTING 2008-11-04 08:58:42 -08:00
Doug Turner
76f1b81b27 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Markus Stange
f780ec066b Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Simon Montagu
18abf89bcd Turning off symbol ligatures can turn off required ligatures also in some fonts. Bug 462387, r+sr=roc 2008-11-02 06:11:10 -08:00
Robert O'Callahan
1693b53c02 Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst 2008-10-29 22:28:25 -07:00
John Daggett
f37b60578a Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
Karl Tomlinson
9283404bc5 b=455647 garbage Indic characters on parts of some English webpages. r=pavlov 2008-10-29 10:24:06 -07:00
Reed Loden
2e45302098 Possible fix for bustage caused by bug 422637. 2008-10-24 01:43:19 -05:00
Alfred Kayser
09825d7f45 Bug 422637 - "Merge nsColorNames into nsColor to have less public functions and less code" [r=vlad sr=roc] 2008-10-24 01:28:29 -05:00
Arpad Borsos
3585c944f1 Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan] 2008-10-21 01:50:05 -05:00
John Daggett
30dd369e94 Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad 2008-10-18 05:14:01 +02:00
John Daggett
24fa1f8fdc Bug 441473. Fix VC 7.1 bustage. r=jdaggett, sr=roc 2008-10-15 18:21:17 +09:00
Robert O'Callahan
7a386793fc Bug 457194. Be careful when we do NS_ceil for font max-ascent/max-descent; we don't want a number that's an integer plus epsilon to round up to the next integer. r=vlad 2008-10-13 14:08:27 +13:00
Peter Weilbacher
b8af3f6c3f [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Vladimir Vukicevic
3b27944210 b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
209719af58 b=434602; win32 create_similar should fall back to dib to avoid exausting vram; r=stuart 2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
7ee79e0b94 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
John Daggett
bbc62f3b9d Bug 458113. Fix syntax error that broke OS/2 build. r+wuno 2008-10-09 14:52:00 +09:00
blassey@mozilla.com
34d2ae88fc Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Oleg Romashin
de82ac8389 Bug 458360 - Qt build breaks after implementation of user font set object. r=vladimir. 2008-10-08 09:06:09 -05:00
Dave Townsend
f8db39fe9b Backed out changeset a9838a973cdd from bug 457194 due to failing mochitest 2008-10-01 16:40:34 +01:00
John Daggett
3865d34ef7 Bug 457194. Make sure Ahem font completely covers background. r=jdaggett, sr=vlad 2008-10-01 13:17:39 +09:00
John Daggett
b38e8d3c90 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Karl Tomlinson
b0bf792077 b=385263 make line heights integer r=roc 2008-09-27 12:22:20 +12:00
Karl Tomlinson
bd1cf53da5 b=385263 a PangoFcFont using tree cairo r=roc 2008-09-27 12:21:55 +12:00
Doug Turner
ae8db696dd Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Karl Tomlinson
5a7b874dec merge backout 23e255271851 b=385263 2008-09-26 20:01:15 +12:00
Karl Tomlinson
952ca1e5f6 backout 23e255271851 b=385263 2008-09-26 20:00:50 +12:00
John Daggett
a3e37412cf Bug 436663. Work around ATSUI crasher caused by long Hebrew sequence. r=roc, sr=vlad 2008-09-26 16:51:53 +09:00
Karl Tomlinson
3ff29e984e b=385263 a PangoFcFont using tree cairo r=roc 2008-09-26 17:29:55 +12:00
Karl Tomlinson
643323a858 b=456545 added missing header gfxFontconfigUtils.h 2008-09-26 17:14:51 +12:00
Karl Tomlinson
0dbd19de26 b=456545 Unify pseudo-inversion of langGrouping r=roc 2008-09-26 16:40:28 +12:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Karl Tomlinson
a1f89017f4 b=454730 Move shutdown of GTK's fontmap from gfxPlatformGtk to nsAppRunner r=roc sr=bsmedberg 2008-09-26 10:38:25 +12:00
Karl Tomlinson
c125d77eb4 restore xlib behavior to that prior to changeset 3c9f6c799fed b=455976 r=stuart 2008-09-26 10:25:00 +12:00
Vladimir Vukicevic
33105ca61f b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Vladimir Vukicevic
4f48417c20 b=310682, add support for shadows in HTML Canvas; patch from Eric Bulter; r=vlad 2008-09-25 12:53:52 -07:00
Vladimir Vukicevic
1ce4d80f1b b=450178; add generic 8-bit alpha box blur in thebes (patch from Eric Bulter); r=vlad 2008-09-25 12:53:09 -07:00
Vladimir Vukicevic
e9929e8a33 b=455976; wrong extend mode used for macosx for border-image 2008-09-25 12:49:55 -07:00
Jeff Muizelaar
eabad639f6 b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07:00
Doug Turner
d26848464c Bug 455354 - WinCE GFX Thebes Windows Fonts Explicit Unicode API Call. patch by wolfe, r=pavlov 2008-09-23 16:35:56 -07:00
Karl Tomlinson
fb0d6fc718 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-22 08:41:40 +12:00
Karl Tomlinson
cc1a3203b5 b=404857 firefox reloads every font.cache for every page loaded r=pavlov 2008-09-22 08:24:28 +12:00
Keith Schwarz
c45964315c Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
L. David Baron
b8d9d3e2ed Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
89a6316c50 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Karl Tomlinson
3ce9751811 backout merge b=455791 2008-09-19 15:03:27 +12:00
Karl Tomlinson
d52c34f81c backout f51aad9e6a88 due to intermittent talos ts failures b=455791 2008-09-19 15:02:35 +12:00
Karl Tomlinson
f8ae25f7d0 b=454951 lazy creation of gfxPangoFont for gfxPangoFontGroup r=roc 2008-09-18 13:44:14 +12:00
Vladimir Vukicevic
6e6bf3a103 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
John Wolfe
15cc6a4e38 Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir 2008-09-16 14:39:29 +02:00
Markus Stange
d28fe1e136 Bug 439354 - OS X toolbar background doesn't have a good gradient, part 1 / 3, r=hwaara sr=roc 2008-09-16 10:21:06 +02:00
Mats Palmgren
20b9888b1f Disable bug 441360 crash test on GTK2 for now (filed bug 455463). 2008-09-16 10:04:46 +02:00
Mats Palmgren
92a4c7d76b Crash test for bug 441360 (additional file). 2008-09-16 07:48:18 +02:00
Karl Tomlinson
212e7734e7 b=454720 Add GetThebesStyle and GetThebesWeight to gfxFontconfigUtils r=pavlov 2008-09-16 16:40:57 +12:00
Karl Tomlinson
69486965eb fix compiler warning regarding initialization of gfxFont b=454735 r=roc 2008-09-16 16:38:20 +12:00
Karl Tomlinson
ae52bc5050 b=454735 Make gfxFont more tolerant to shutdown of the gfxFontCache r=roc 2008-09-16 16:35:05 +12:00
Karl Tomlinson
4ce06bfd6f b=454743 skip empty glyphs rather than rendering as spaces 2008-09-16 16:19:46 +12:00
Mats Palmgren
b0a4822bed Crash test for bug 441360. 2008-09-16 03:37:00 +02:00
Karl Tomlinson
e8a84aa36e b=454718 Change return type of gfxPlatformGtk::DPI() from PRUint32 to double. r=roc 2008-09-16 10:29:36 +12:00
Arpad Borsos
067d8fcf17 Bug 454483 - Clean up unused variables in gfx/; r=vladimir; (with nits by sgautherie) 2008-09-15 15:46:07 +02:00
Keith Schwarz
dc907e1ec7 Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
John Daggett
96dc454727 Bug 449533. Set the mFixedPitch flag within SetFixedPitch. r+sr=vlad 2008-09-12 16:31:16 +09:00
Vladimir Vukicevic
c0e9f67c98 b=454856; gcc compilation oddness with some fp-int conversions, workaround in gfxColor; r=bholley 2008-09-11 17:49:58 -07:00
Bobby Holley
7f68f87dbf Fixing some endian-ness bugs for color management - bug 439704. r=vlad 2008-09-10 19:21:03 -07:00
Doug Turner
a49e520740 Bug 453836 - handle OOM while images decoding. r=jim 2008-09-10 13:23:29 -07:00
Bobby Holley
3c106c861e Force cms to use sRGB as an output profile during reftests - bug 452125.r=vlad 2008-09-08 14:47:26 -07:00
Bobby Holley
6bd35710a6 Bug 453726 - thebes does an unnecessary float->byte->float conversion on the alpha channel when color management is turned on. r=vlad 2008-09-08 14:41:26 -07:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Oleg Romashin
92246e89b7 Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir. 2008-09-07 22:28:20 +03:00
Vladimir Vukicevic
bcc97e0618 18829 6014c4fca4a1 2008-09-04 21:44 -0700 vladimir
b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me

--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-06 14:29:16 -07:00
Zack Weinberg
83829cd801 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Robert O'Callahan
1bc2d8883a Bug 446529. Disable uncommon ligatures on Mac/ATSUI. Make sure we don't enable common ligatures if ATSUI has disabled them by default for this font (e.g. for Courier). r=vlad 2008-09-06 20:37:58 +12:00
Vladimir Vukicevic
f87ccb0afe Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
Vladimir Vukicevic
2843975354 b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me
--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-04 21:44:42 -07:00
Robert O'Callahan
787e31d22a Bug 452567. Reorder glyph drawing order for RTL to make it consistent with LTR. r=vlad 2008-09-04 14:38:32 +12:00
Doug Turner
f199113b2e Bug 453480 - Detect OOM before creating a thebes img. r=vlad, sr=stuart 2008-09-03 16:07:36 -07:00
Oleg Romashin
9941099a86 Bug 451032 – Replace gfxQtFonts with gfxFT2Fonts because it almost the same. r=vladimir 2008-08-28 21:05:53 +10:00
Brian Crowder
e5f30b8f9d Bug 422774 - reduce narrow Windows API calls in gfx, original patch by Brad Lassey <blassey@mozilla.com>, r=pavlov 2008-08-27 14:44:55 -07:00
stefanh@inbox.com
80d194e392 Backing out bug 439354 (changesets a2709097171f and b54001303198) and the dependent bug 449833 (changeset 2b246e03252b) due to perf regressions on Leopard talos boxen. 2008-08-27 21:40:25 +02:00
Markus Stange
0cf3fb1f64 Bug 439354 - OS X toolbar background doesn't have a good gradient. Part 1 (widget). r=hwaara, sr=roc. 2008-08-27 17:45:24 +02:00
shaver@mozilla.org
4e4293b4e9 re-merge from mozilla-central for post-freeze backouts 2008-08-20 10:56:41 -07:00
shaver@mozilla.org
5d3ad68bbe merge from mozilla-central 2008-08-20 08:17:17 -07:00
Ted Mielczarek
df23199981 Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:43:58 -04:00
Ted Mielczarek
702aa540ab Backed out changeset d55aac0ec553, bug 446529 - Disable discretionary ligatures on Mac, due to reftest failures on mac
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-01.html |
REFTEST TEST-UNEXPECTED-FAIL | file:///builds/slave/trunk_darwin_mini01/build/layout/reftests/text/wordwrap-03.html |
2008-08-20 10:42:57 -04:00
Reed Loden
29cb2899a3 Branch merge. 2008-08-20 02:03:50 -05:00
Reed Loden
b89ad17341 Backed out changeset 6eec92f9276a from bug 416157 because the image tests need to be updated before it can be landed. 2008-08-20 02:03:01 -05:00
Robert O'Callahan
15260e6b0e Bug 446529 - "Disable discretionary ligatures on Mac" [r=vlad] 2008-08-20 00:55:27 -05:00
Michael Moy
f9e264bb68 Bug 416157 - "Add JPEG SSE2 color processing for ycc_rgb_convert_argb" [r=stuart sr=vlad] 2008-08-20 00:03:46 -05:00
Reed Loden
cc0f39ef5e Backed out changeset 59a60321d0d6 since it doesn't include everything
vlad wanted.
2008-08-19 23:01:03 -05:00
John Wolfe
b69efd4d02 Bug 444492 - "Cairo _get_system_quality() function stubbed out in WinCE" (_get_system_quality() Returns DEFAULT_QUALITY on WinCE) [r=vlad] 2008-08-19 22:58:28 -05:00
Joe Drew
7f741a1112 Bug 446675 - "Remove BeOS port of gfx" [r=vlad] 2008-08-19 22:45:02 -05:00