Commit Graph

1319 Commits

Author SHA1 Message Date
Jonathan Kew
9581487a1d bug 564309 - cache non-antialiased font to fix MathML perf regression on Windows. r=roc 2010-05-12 13:17:55 +01:00
Oleg Romashin
078005c4d2 Bug 561772 - Simplify Qt rendering modes and remove dependency from gfxSharedImageSurface. r=joe.
--HG--
extra : rebase_source : d42def8318eb068571f0a5db515593d7f99a56c0
2010-05-11 13:31:56 -04:00
Vladimir Vukicevic
706e10c197 bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
Brian Lu
6f6b4e47f9 Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
Jonathan Kew
81f19261c4 bug 502906 - part 3.1 - followup to fix memory footprint regression from part 3. r=jdaggett 2010-05-05 11:10:36 +01:00
Matt Woodrow
38db2f043b Bug 561957. Support GL backend on Mac OS X. r=vlad 2010-04-28 10:29:29 +12:00
Mats Palmgren
d0b4571d12 Assert that we only increment reasonable side/corner values. Note that incrementing the max value is allowed so that for-loops can be used without complicating the break-condition. r=timeless b=334571 2010-04-27 18:15:02 +02:00
timeless
83499da47b Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless
97c43a3297 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Mark Banner
261fd5e0bf Follow up bustage fix to bug 560147, put THEBES_API in the right place. 2010-04-27 10:35:34 +01:00
Mark Banner
94351d1062 Fix non-libxul build bustage from bug 560147 - thebes public functions should define THEBES_API. rs=roc 2010-04-27 09:49:01 +01:00
Bas Schouten
8224eab52e Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:21:46 +02:00
Bas Schouten
bc05313947 Bug 560147: Add a Unified OpenGL wrapper in Thebes that can be used from throughout the tree. r=vlad 2010-04-27 04:09:44 +02:00
Jeff Muizelaar
1ff50fe646 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
Mike Hommey
02347798c9 Bug 560897 - Properly close #pragma pack in gfxFontUtils.cpp, and enclose EOTFixedHeader in #pragma pack [r=roc] a=me 2010-04-24 10:25:45 +02:00
Michael Wu
0dc7ee1deb Bug 540788 - disable text hinting on mobile r=vlad 2010-04-22 15:03:02 -07:00
Taras Glek
95c2c4903e Back out bug 560897. 2010-04-22 11:51:11 -07:00
Taras Glek
e9934754b4 Bug 560897: close #pragma pack r=roc
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Jonathan Kew
48228dd99f bug 558027 - gfxFontUtils::MakeEOTHeader is too fussy, an empty version string is acceptable. r=jdaggett 2010-04-16 09:08:36 +01:00
Doug Turner
0e8798aedd Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
Jonathan Kew
1119f0a9cc bug 557736 - ignore empty elements in the font family list. r=jdaggett 2010-04-15 09:31:15 +01:00
Jonathan Kew
52f9f9e606 bug 555435 - compact the cmap block arrays after loading to reduce memory footprint. r=jdaggett 2010-04-15 09:31:12 +01:00
Oleg Romashin
8fd4c3b80d Bug 555863 - Qt widget code assumes 32bpp target surface. r=jmuizelaar.
--HG--
extra : rebase_source : ed824c4eebee561fa2992788649df5a4d0b19680
2010-04-13 19:11:23 -04:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Jonathan Kew
d48aedf105 bug 554544 - try to make font code more robust, to avoid risk of getting null metrics. r=roc 2010-04-11 20:36:17 +01:00
Jeff Muizelaar
d751aaf9e3 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
aff371e5cb Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Jonathan Kew
0ad94c3879 bug 554188 - handle trailing whitespace on bidi-overridden text runs consistently on OS X 10.6. r=roc 2010-04-07 10:18:57 +01:00
Oleg Romashin
428506918b Bug 557175 - No bug commit rev 146fdb589df5 broke Qt port compilation. r=vladimir 2010-04-07 03:54:05 -04:00
Jonathan Kew
f4bd122713 bug 549190 - round dwrite font vertical metrics to improve rendering/spacing consistency. r=bas 2010-04-06 21:19:41 +01:00
Jonathan Kew
b81c24c7fb bug 502906 - part 4 - refactor DWrite font code to match Mac and GDI structure. r=bas 2010-04-06 21:19:39 +01:00
Jonathan Kew
4b560e4029 bug 449292 - part 7 - implement gfxHarfBuzzShaper and provide pref to use this or platform back-end. r=jdaggett sr=roc 2009-10-07 18:16:52 +01:00
Jonathan Kew
eb6b886864 bug 449292 - part 6 - font table cache and accessors to support harfbuzz. r=jdaggett sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew
3058c35266 bug 449292 - part 5 - break text into script runs before font-matching and shaping. r=jdaggett sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew
e1d54c539f bug 449292 - part 4 - script run itemizer implementation (based on ICU code). r=jdaggett,smontagu sr=roc 2010-06-11 20:14:38 +01:00
Jonathan Kew
367acf5520 bug 449292 - part 3 - add unicode character properties needed for script itemization and harfbuzz shaper. r=jdaggett,smontagu sr=roc 2010-06-11 20:14:37 +01:00
Oleg Romashin
ff064189d9 Backed out changeset 2959eddcd018, to fix oranges 2010-06-11 08:35:26 -04:00
Oleg Romashin
cfe4ce6dd8 Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar
--HG--
extra : rebase_source : 8ddcebaa4f6418c65325b4374f7f9f5ab4ec377e
2010-06-11 05:33:22 -04:00
Daniel Holbert
ff7906b891 Bug 571160: fix unused variable warning. r=jdaggett 2010-06-10 11:26:46 -07:00
Jonathan Kew
50942e04a9 bug 568191 - add padding to glyph extents in cairo dwrite backend to allow for antialiasing. r=bas 2010-06-10 19:19:51 +01:00
John Daggett
4fa09eb50e Backed out changeset d87007680567 2010-06-10 15:38:13 +09:00
John Daggett
02536d825c Bug 561304. Revert to using GDI shaper on XP to avoid Uniscribe positioning bug at certain font sizes. r=jkew 2010-06-10 10:26:36 +09:00
Vladimir Vukicevic
85aecff85c b=562409; add GLContextProvider form EGL (patch from vlad/fred/romaxa); r=bas 2010-06-09 15:27:29 -07:00
Vladimir Vukicevic
77abe946b5 b=570660; add ability to resize pbuffer GL contexts; r=joe 2010-06-09 15:07:12 -07:00
Bas Schouten
bf92a528d3 Bug 568495: Do not push cleartype for transparent window surfaces. r=jrmuizel 2010-06-09 17:50:03 +02:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
John Daggett
c9a6678562 Bug 504698. Force Cleartype rendering of content on XP based on pref (follow-on). r=jkew 2010-06-09 09:33:13 +09:00
John Daggett
238a0854d1 Bug 555091. Fix unitialized vars in GDIFontEntry. r=jkew 2010-04-06 16:57:12 +09:00
Jeff Muizelaar
a7d2620943 Bug 542605. Backed out changeset 2b9a4c865737
Reftest failures that showed up at the last minute.
2010-04-06 00:14:30 -04:00
Jeff Muizelaar
6db34ced75 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas 2010-04-05 22:28:54 -04:00
Doug Turner
de5f5f3208 Fix Qt Gfx build bustage when using shared image surfaces. No bug 2010-04-02 11:11:31 -07:00
Doug Turner
cd95c5e54c Fix for Qt build bustage. Need to #include class before using it in a nsRefPtr. Nobug 2010-04-02 08:47:05 -07:00
Daniel Holbert
f055328561 Bug 551298, patch B: Replace uses of THEBES_INLINE_DECL_REFCOUNTING with NS_INLINE_DECL_REFCOUNTING. r=roc 2010-04-01 11:05:40 -07:00
Daniel Holbert
5192e33d44 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert
56db19649c Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert
ef92ece024 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
Jesse Ruderman
7e6ad6b78a Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Jonathan Kew
8894eaff65 bug 555930 - directwrite font code failed to initialize superscriptOffset. r=bas 2010-03-31 13:46:18 +01:00
Bas Schouten
da83d8df41 Bug 552284: Check if we're valid before computing metrics. r=jfkthame 2010-03-20 18:25:37 +01:00
Jonathan Kew
e8c447ac8a bug 552619 - fix build breakage from bug 502906 with older Windows SDKs without dwrite support. r=bas 2010-03-17 11:40:29 +00:00
Robert O'Callahan
686b3c0470 Bug 538323. Part 1: create ImageLayers and associated API for displaying pixel-buffers in various formats. r=jrmuizel,sr=dbaron 2010-03-02 12:09:35 +13:00
Robert O'Callahan
53211fb449 Bug 538266. Part 1: create gfx3DMatrix. r=jrmuizel 2010-03-02 12:08:26 +13:00
Mats Palmgren
af277b2204 Fix gcc warning: 'rv' may be used uninitialized in this function. b=552186 r=jfkthame 2010-03-15 19:29:55 +01:00
Jonathan Kew
8a871fa050 bug 502906 - part 3 - factor out Uniscribe and GDI shapers from Windows GDI font code. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxWindowsFonts.cpp => gfx/thebes/src/gfxUniscribeShaper.cpp
rename : gfx/thebes/public/gfxWindowsFonts.h => gfx/thebes/src/gfxUniscribeShaper.h
2010-03-15 09:34:25 +00:00
Jonathan Kew
e3164a12bc bug 552216 bustage fix, missed deleting a line 2010-03-14 12:56:59 +00:00
Jonathan Kew
00bb297fff fix Windows bustage from bug 552216. 2010-03-14 12:13:21 +00:00
Jonathan Kew
13639154d6 bug 552216 - use 64-bit arithmetic to guard against possible overflow leading to buffer overrun in woff decoder. r=roc 2010-03-14 12:03:37 +00:00
Makoto Kato
33579349f7 Bug 524449 - Remove nsIPref from tree. r+sr=benjamin 2010-03-13 22:25:13 +09:00
Bas Schouten
69e742e37f Bug 551945: Fix a mistake in double pass from changeset 53a85c489708. r=jfkthame 2010-03-12 14:09:53 +01:00
Jonathan Kew
f6504dfe55 bug 549169 - account for font-size-adjust in DWrite font code. r=bas 2010-03-12 11:57:49 +00:00
Bas Schouten
acd5890e37 Bug 549056: We always do double pass drawing when we're not a Win32 surface. r=jmathies,jrmuizel 2010-03-12 11:12:00 +01:00
Bas Schouten
5154c4b939 Bug 550680: RoundOut to snap correctly, and do so early enough to get a big enough surface. r=vlad 2010-03-12 11:08:28 +01:00
John Daggett
b6c4b585db Bug 549816. Adjust meaning of needsBold flag. r=bas 2010-03-12 13:26:43 +09:00
Bas Schouten
0347e107b7 Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett 2010-03-12 13:25:35 +09:00
James Cook
5b22675bba Bug 524919 - Qt build of Firefox or Fennec does not respect my screen's DPI. r=mark.finkle, sr=pavlov 2010-03-10 16:36:47 +02:00
Brad Lassey
32de3d883c follow up from bug 534136, fix build bustage for WinMo debug r=jonas 2010-03-10 15:47:45 -05:00
Jonathan Kew
84ecdc13b7 bug 502906 - part 2 - split out gfxCoreTextShaper and gfxMacFont. r=jdaggett
--HG--
rename : gfx/thebes/src/gfxCoreTextFonts.cpp => gfx/thebes/src/gfxCoreTextShaper.cpp
rename : gfx/thebes/public/gfxCoreTextFonts.h => gfx/thebes/src/gfxCoreTextShaper.h
2010-03-10 12:46:41 +00:00
Jonathan Kew
862b9f6d18 bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Steven Michaud
52b5f2cff3 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Oleg Romashin
1074689b38 Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Masayuki Nakano
3d3a707f5a Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl
76dd42f941 Bug 548978: [OS/2] Fix build bustage in gfx/src/thebes/gfxOS2Platform.cpp r=jfkthame 2010-03-06 12:56:30 -05:00
Oleg Romashin
c4c4f0664c Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Bas Schouten
0c2bbe961d Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Simon Montagu
c98bc79fd2 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew
85144c835a Bug 549668 - check that mozilla.widget.render-mode pref value is within valid range. r=vlad 2010-03-03 09:27:08 +00:00
Bas Schouten
6d6ccbd638 Bug 549268: Ensure we pass a unique fontFileReferenceKey to DWrite for downloadable fonts. r=jdaggett 2010-03-03 07:57:47 +01:00
Bas Schouten
82d9fd2412 Bug 549270: Read the font substitutions from the registry and use them when looking up font names. r=jdaggett 2010-03-03 07:57:43 +01:00
Ginn Chen
ceab423709 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten
07ee37b338 Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel 2010-03-02 02:04:27 +01:00
John Daggett
9c6d706e15 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook
6a2aa516ea Bug 549019 Don't try to build Direct2D with older SDKs (based on patch by bas) r=jrmuizel 2010-02-27 16:05:54 +00:00
Jonathan Kew
a77a681fe4 Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten
dcdb088a10 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Jonathan Kew
9a27cf7646 Bug 548608 - update SupportsLangGroup in Windows font list code for nsIAtom-based language codes. r=roc 2010-02-25 15:02:54 -08:00
Jonathan Kew
c1c65f039e Bug 548545 - don't try to get an atom for a NULL string. r=roc 2010-02-25 15:02:31 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
John Daggett
d33c429bba Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner
8038a1962b Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin
10bae41c14 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Jonathan Kew
dd9376eca9 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew
a36f66c45b Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc 2010-02-18 11:52:34 +00:00
John Daggett
61445dbd5b Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner
02e532de27 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner
184af0aa49 comparing with ssh://hg.mozilla.org/mozilla-central
searching for changes
changeset:   38150:c823c17d12d2
user:        Doug Turner <dougt@dougt.org>
date:        Tue Feb 16 10:49:57 2010 -0800
summary:     backing out 544250
2010-02-16 10:52:40 -08:00
Oleg Romashin
3f1e3cf170 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin
5cfa8aef3e Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Jonathan Kew
6454626bae Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew
97229bf265 Bug 543502: Protect against out-of-range array read in CheckForSimpleFamily; remove bad families with no faces from the font list. r=jdaggett 2010-02-11 06:59:47 -05:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Jonathan Kew
3c41a0619b Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew
b1b7add9e6 Bug 426978: issue warning rather than assertion for font change within a character cluster. r=roc 2010-01-30 13:16:07 +00:00
John Daggett
d067f3ab2b Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew
b5b474a080 Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew
a4453fa407 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Jonathan Kew
35b54beeb5 Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban
19e7af1520 Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00
Jesse Ruderman
bb2d0a2624 Add crashtests 2010-01-21 11:07:51 -08:00
Steffen Imhof
4da26e4f38 Bug 516973 - Mismatch between Cairo and Thebes surface types. r=jmuizelaar 2010-01-16 18:04:52 +01:00
Jonathan Kew
a03348a408 Bug 502906 part 1: eliminate backend-specific gfxFontGroup subclasses on Mac OS X. r=jdaggett 2009-10-07 16:26:58 +01:00
Jacek Caban
b57cc9e69d Bug 505711 - Compilation failure on MinGW in gfx/thebes. r=jfkthame 2010-01-14 21:31:06 +00:00
Jonathan Kew
67949f94d0 Bug 538730: fix Windows synthetic bolding regression from bug 493280. r=jdaggett 2010-01-13 10:42:25 +00:00
Doug Turner
c6e1abd90c [Bug 539037] Qt bustage in gfxFontEntry. r=vlad. qt only 2010-01-11 12:31:43 -08:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Jonathan Kew
e7a314f2f8 Bug 538628. Initialize font family field for each font face. r=jdaggett 2010-01-09 12:52:32 +09:00
Jonathan Kew
a9db416182 Bug 493280: restructure Windows font management based on cross-platform font-list classes. r=jdaggett sr=roc 2009-10-07 15:13:40 +01:00
Jonathan Kew
8be062c592 Bug 530614: accept fonts (e.g. Arial Unicode MS) despite incorrect cmap language tag. r=jdaggett 2010-01-07 13:53:31 +00:00
Jonathan Kew
d06dd51982 Bug 538065: avoid possible out-of-bounds array index in gfxFont::SanitizeGlyphRuns(). r=roc 2010-01-07 13:53:25 +00:00
Josh Soref
52016bd074 Bug 529734 - Work around buggy os crash [@ CMValidateProfile] by adding exception handling, r=neil 2010-01-05 18:39:56 -05:00
John Daggett
57e23b806e Bug 561304. Use GDI shaper by default on XP and handle bitmap fonts better. r=jkew 2010-06-25 21:43:10 +09:00
Jacek Caban
88ea83cf53 Bug 569608 - gfxTextRunWordCache.cpp compilation failure on mingw-w64 due to pointer to long cast loosing precision r=vladimir
--HG--
extra : rebase_source : 3142d17d9c28beb1a2034a555b2ffe4a95e71f9c
2010-06-25 14:10:54 +02:00
Jacek Caban
b04c94efa8 Bug 449292 - gfxHarfBuzzShaper.cpp mingw fix. r=jfkthame
--HG--
extra : rebase_source : 4a9dae1e9123206f89ff6d6197a32752077570ee
2010-06-25 14:06:26 +02:00
Stuart Parmenter
4d425088eb bug 470440. Disable hinting on mobile to avoid some text spacing issues. r=karlt 2009-12-30 00:13:38 -08:00
chithraprabhap@gmail.com
d5595161ac Bug 536938 - Too many lines of messages about system font info getting displayed in console when starting xulrunner from console. r=mfinkle 2009-12-29 10:41:57 +01:00
Jonathan Kew
94c533cabd Bug 534352. Accept fonts with redundant cmap sentinel value. r=jdaggett 2009-12-22 09:47:18 +00:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Jonathan Kew
9cf092266b Bug 534353: Copy the correct string data to the EOT header name fields. r=jdaggett 2009-12-20 17:52:57 +00:00
Jonathan Kew
e96ca9e720 Bug 534919: do not inherit font from ZWNJ to adjacent character. r=roc 2009-12-16 15:47:12 +00:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Jeff Wang
409a908656 64-bit Mac OS X bustage fix for font code. b=532346 r=jkew r=joshmoz 2009-12-15 18:16:12 -05:00
Christopher A. Aillon
780af2e776 Bug 435313 - "Printing on linux should set SIMPLIFY_OPERATORS | DISABLE_SNAPPING" [r=vlad] 2009-12-15 17:04:22 -05:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan
5c4bf1f0ba Bug 534426. Use our zlib.h, not system zlib.h. r=jfkthame 2009-12-16 09:09:00 +13:00
Ted Mielczarek
90122f0ace bug 530093 - allow building with VC10. gfx changes. r=jdaggett 2009-11-23 10:20:21 -05:00
Daniel Holbert
98db394861 Bug 534150: Make sure to initialize local variable "matchFE" in FindFontForStyle, and remove unneeded null-check. r=jdaggett 2009-12-12 22:27:30 -08:00
L. David Baron
0d1e7cde54 Reset mUnderlineOffset on all platforms when user font set generation is bumped. (Bug 523717) r=jdaggett 2009-12-11 08:13:20 -08:00
Jonathan Kew
20be438b77 Bug 532349: Support new cmap table ID used in Chinese fonts on OS X 10.6. r=jdaggett 2009-12-10 12:18:23 -08:00
Jonathan Kew
67b2a6c40e Bug 532346: Work around ATSUI rendering failure with Apple LiGothic font on 10.6. r=roc 2009-12-10 12:18:14 -08:00
Jonathan Kew
14c50c157d Bug 519445: lazy enumeration of font faces on Mac OS X to improve startup. r=jdaggett 2009-10-13 00:43:43 +01:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Vladimir Vukicevic
2e0f9d6bd7 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Mark Finkle
5c199b11fd Bug 531289: Firefox doesn't obey system dpi settings anymore [r=roc a=blocking] 2009-11-30 16:44:55 -05:00
Karl Tomlinson
3e31a49e93 b=527980 don't use tree-cairo preprocessor symbols to test for fontconfig r=bsmedberg 2009-11-27 13:21:31 +13:00
Mark Finkle
2fab901966 Bug 530931: Maemo shouldn't use the true DPI [r=roc] 2009-11-25 17:27:05 -05:00
Jonathan Kew
f11b5087cc bug 527555: ensure gfxCoreTextFont destructor doesn't try to delete uninitialized Cairo pointers or null CF references. r=roc 2009-11-10 10:00:50 +00:00
Takuro Ashie
3c42e71f49 Bug 525845 - Some characters in WOFF failed to work on Linux and Solaris. r=karlt 2009-11-05 23:12:36 -08:00
Karl Tomlinson
7efb83c660 Test for bug 509244 2009-11-02 16:35:20 +13:00
Karl Tomlinson
5b37c7cce2 Test for bug 509244 2009-11-02 16:21:24 +13:00
Takuro Ashie
23139b43fb Bug 505284 - bottom of fonts cut off in dialogs. r=karlt 2009-10-30 16:13:41 -07:00
Bas Schouten
039ec98ac1 Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett 2009-10-30 16:41:13 -06:00
Doug Turner
195c21873d Expose device type in user agent. r=vlad 2009-10-24 23:09:46 -07:00
Daniel Holbert
be9ef0b364 Disable one of Bug 385228's crashtests, since it's apparently not WORKSFORME after all. (reopened bug) 2009-10-19 17:26:04 -07:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Jesse Ruderman
8771686ba7 Fix likely typo in this crashtest file 2009-10-13 12:30:46 -07:00
Mark Finkle
5431eed7c0 Bug 520341: Implement a way to detect a pre-Fremantle Nokia Maemo tablet, r=roc 2009-10-04 21:31:26 -04:00
Jeff Muizelaar
5eefe26460 Bug 514932. Fix color profile retrieval on OS X 10.6. r=joshmoz
CMGetDeviceProfile(cmDisplayDeviceClass,
		cmDefaultDeviceID,
		cmDefaultProfileID,
		&device);
returns cmDeviceNotRegistered on 10.6 so we need to use a different method
to get the profile.
2009-10-03 14:33:55 -04:00
Jonathan Kew
246e3ab129 Bug 519149. Get properly localized font family names on Mac OS X. r=jdaggett 2009-09-28 11:25:22 +01:00
Masatoshi Kimura
410e208b47 bug 552460 - part 3 - implement Variation Sequence support in Windows font backend. r=jfkthame 2010-06-01 14:42:37 +01:00
Robert O'Callahan
0263b02bb2 Bug 568189. Create gfxASurface::CreateSimilarSurface API. r=jrmuizel 2010-06-01 11:37:44 +12:00
John Daggett
38a782dbe9 Bug 504698. Enable Cleartype content rendering by default on Win XP. r=jkew 2010-05-27 14:05:30 +09:00
John Daggett
7343dac5ab Bug 517045. Remove code causing startup regression in Mac font initialization. r=jkew 2009-09-29 09:38:59 +09:00
Mark Finkle
5ca2ebf429 Bug 518378: buttons and list boxes in content document are unreasonably large, r=dbaron 2009-09-26 20:21:32 -04:00
Tobias Hunger
28c24755b6 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Mark Finkle
3fab3ffab7 Bug 518281: DPI on n810 is incorrect (part 2), r=stuart 2009-09-23 02:31:38 -04:00
Mark Finkle
50bf449113 Bug 449283: DPI on n810 is incorrect, r=roc 2009-09-22 08:45:56 -04:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Peter Weilbacher
225cff8d8f [OS/2] Bug 511361 - fix font name conversion before calling FC to match the font 2009-09-18 23:33:03 +02:00
Jonathan Kew
8f71962ebf Bug 517283: fix gfxCoreTextFontGroup and bidi reftests to resolve failures with the Core Text backend, r=roc 2009-09-18 09:20:01 +01:00
John Daggett
3a6296ca39 Bug 505386. Compensate for unpadded font tables when renaming fonts. r=jkew. 2009-09-18 11:39:22 +09:00
John Daggett
b8d1f9f7eb Bug 516709. Do better validation of cmap tables when loading fonts. r=jkew. 2009-09-18 09:45:29 +09:00
Jonathan Kew
5d195abe72 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Jonathan Kew
7f99e7a86f Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
Reed Loden
5172688f96 Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
L. David Baron
2b3aa05445 Fix the one mochitest that's exported to _tests in a disable-tests build. (Bug 515993) r=ted 2009-09-16 12:01:18 -07:00
Takuro Ashie
56425247f2 b=513192; Crash [@nsAString_internal::BeginReading(nsReadingIterator<unsigned short>&)]; r=jfkthame 2009-09-10 13:57:27 -07:00
Vladimir Vukicevic
e2e8338594 b=514968; optimize FT2 textrun creation with glyph cache; r=jfkthame 2009-09-10 13:52:40 -07:00
Chris Jones
f57cd2825a bug 504034: initialize RgnRectMemoryAllocator non-statically by heap allocating it. r=vlad 2009-09-09 20:22:03 -05:00
Takuro Ashie
33755981fd Bug 490267 - implement pref font and system font fallback for gfxFT2Fonts. r=jtd,jfkthame sr=roc 2009-09-09 16:35:08 +01:00
Michael Moy
6736b50d62 Bug 421761 - "Use multiplication instead of division for gfxRGBA (gfxColor.h)" [r=joe r=jmuizelaar] 2009-09-08 15:14:39 -05:00
Mook
782c1706ab use PRUptrdiff, not unsigned long, for PtrBits in gfxFont [r=vlad] 2009-09-04 21:46:09 -05:00
Benjamin Smedberg
5d0d982cec CLOSED TREE spelling fixes to kick new builds. 2009-09-03 11:14:54 -04:00
Sylvain Pasche
e2e27d0066 Bug 513439. Parse layout.css.devPixelsPerCSSPx as a string float. r=roc
--HG--
extra : rebase_source : 28d39726e3714d2614f5f010a8e6f914ddecaf75
2009-08-29 12:19:36 +02:00
Peter Weilbacher
48caf1048e [OS/2] Bug 490561 - update GetMetrics 2009-08-29 00:58:25 +03:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
John Daggett
10e5cb9171 Bug 499621. Follow-up fixup to synthetic bolding on Windows. r=jkew. 2009-08-26 01:59:20 +09:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Mats Palmgren
4c40edaac1 Re-enable crash test for bug 441360 on gtk2 platforms. b=455463 r=me 2009-08-22 19:15:25 +02:00
Peter Weilbacher
cbf3f804fd [OS/2] Bug 509317 - enable general emboldening of fonts and stop forcing antialiasing in that case 2009-08-19 09:47:09 +02:00
Craig Topper
da105abed8 Bug 467948: Fix some "deprecated conversion from string constant" compiler warnings", round 2. r=dbaron 2009-08-18 08:48:32 -07:00
Takuro Ashie
f9a13f12c9 fix Qt and GTK bustage in gfxFT2Fonts from bug 493280, r=jfkthame 2009-08-18 09:26:24 +01:00
Masatoshi Kimura
666a2c30e5 fix wchar_t incompatibility from bug 493280, r=jfkthame 2009-08-18 09:26:20 +01:00
Jonathan Kew
4081cee632 further winmo (gfxFT2Fonts) bustage fix from bug 493280 2009-08-16 18:12:12 +01:00
Jonathan Kew
e8277f0e68 fix for winmo bustage from bug 493280 - use accessor for protected member in gfxFontFamily 2009-08-16 17:29:35 +01:00
Jonathan Kew
717b51707f bug 493280 (part 1) refactor Mac font selection code and make 64-bit clean, r=joshmoz,jdaggett sr=roc
--HG--
rename : gfx/thebes/src/gfxQuartzFontCache.h => gfx/thebes/src/gfxMacPlatformFontList.h
rename : gfx/thebes/src/gfxQuartzFontCache.mm => gfx/thebes/src/gfxMacPlatformFontList.mm
2009-08-16 14:52:12 +01:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Jeff Muizelaar
a27974ef72 Bug 504920. Use cairo_set_can_convert_to_dib(TRUE) when creating optimized DDB image surfaces. r=vlad
This lets cairo convert and keep a DDB image into a DIB section when we paint
it to a canvas.  Avoiding the continuous conversion to an image surface
improves the performance of drawImage on to a canvas on Win32, in particular
the peacekeeper experimentalMovie benchmark.
2009-08-12 10:44:53 -04:00
Brad Lassey
b7d93a84fe bug 491305 - Allow loading fonts from an application folder, follow up 2009-08-11 14:21:04 -07:00
Brad Lassey
66d0dc5c56 bug 491305 - Allow loading fonts from an application folder r=vlad 2009-05-04 13:00:54 -04:00
Vladimir Vukicevic
b2ef6c1d62 b=507037; hang on WinCE in gfxFontFamily::FindFontForStyle; r=jdaggett 2009-07-30 11:19:34 -07:00
Robert O'Callahan
82ace80f84 Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Ginn Chen
2a18ac76b5 Bug 505678: Downloadable font feature is broken with Sun Studio compiler r=jdaggett 2009-07-29 17:40:33 +08:00
Makoto Kato
b9909fb293 Bug 505691 - Remove unnecessary include of nsIPref.h. r=vlad 2009-07-28 18:33:20 +09:00
Karl Tomlinson
e6e8086a71 b=506135 use fontmap property on PangoFcFont only from Pango-1.24.4 r=roc
--HG--
extra : rebase_source : 3628d1e00e308ae9a0d449cba4ecd2d697636eaa
2009-07-27 12:37:59 +12:00
John Daggett
228d54b988 Bug 499621. Fix synthetic bolding of downloadable fonts on Windows. r=jkew 2009-07-23 11:22:24 -10:00
John Daggett
5120ac28f0 Bug 496573. Fix font load failure for fonts with family/fullname mismatch. r=vlad 2009-07-22 22:08:23 -10:00
Karl Tomlinson
639c7427eb b=487971 use fontmap property on PangoFcFont from Pango-1.24
--HG--
extra : rebase_source : 97255de05f7afc7550bbb37b1e0b0296a7f4b7c0
2009-07-23 13:21:45 +12:00
Jonathan Kew
6f803b386e bug 502795 - avoid using CTFontCreateCopyWithAttributes to disable ligatures because it fails with privately-activated download fonts, r=roc 2009-07-16 11:00:38 +01:00
Jonathan Kew
55456ba804 merge backout of b6d407af386f 2009-07-15 11:06:15 +01:00
Jonathan Kew
6311f5f4a6 Backed out changeset b6d407af386f for causing bug 503718 on Windows 2009-07-15 11:04:00 +01:00
Jonathan Kew
386d919e73 merge backout of 705ef05105e8 2009-07-15 11:02:57 +01:00
Jonathan Kew
545c663945 Backed out changeset 705ef05105e8 for causing bug 503718 on OS X 2009-07-15 10:59:26 +01:00
Peter Weilbacher
0a2e5d1a8f [OS/2] Bug 493428: adapt calculation of zeroOrAveCharWidth to what the other platforms do (using glyph advance instead of glyph width), to fix dialog widths that appear to narrow 2009-07-10 09:46:21 +02:00
Jonathan Kew
2746f1c822 Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:01:19 +12:00
Vladimir Vukicevic
809be8d5c7 b=494438; add optional OpenGL acceleration to ddraw surface for CE: better integration with rest of system; r=vlad 2009-07-08 16:34:02 -07:00
Vladimir Vukicevic
ef7dde313c b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad 2009-07-08 16:34:02 -07:00
Jonathan Kew
89f34af9f3 Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc 2009-06-15 10:00:12 +12:00
Vladimir Vukicevic
32b1a71c2d b=499853; swimplify missing glyph rendering on mobile; r=stuart 2009-07-01 11:36:57 -07:00
Vladimir Vukicevic
5ffc3df659 b=487693; avoid aggressive invalidation in canvas; r=roc 2009-06-25 13:31:35 -07:00
Vladimir Vukicevic
ce0b21af22 b=492724; pull out canvas utility functions into CanvasUtils/LayoutUtils; r+sr=roc 2009-06-25 13:30:56 -07:00
Timothy Nikkel
8e2fddb350 Bug 494664. Minor color-related cleanup. r=jmuizel,sr=vlad
--HG--
extra : rebase_source : a81d48bb0fa9faac3806b7a609d35a9eb5bdffd9
2009-06-24 21:18:17 +12:00
Takuro Ashie
454cce4eb1 Bug 490285. gfxFT2Fonts needs to add second and later glyphruns in a textrun at the correct offset, not at the start of the string. r=vlad,karlt
--HG--
extra : rebase_source : 6f8702a2b1799d6883f8fa6dbec10a655c274916
2009-06-24 21:14:10 +12:00
Robert O'Callahan
fb3ba8159f Bug 495455. Always get correct bounding boxes for text rendered with user fonts, since they are likely to be using unusually-sized glyphs. Mac/Windows only at the moment. r=jdaggett
--HG--
extra : rebase_source : 3e5a713873c59488c19f5008a075d13397566358
2009-06-24 21:04:20 +12:00
Hiroyuki Ikezoe
99cdc7b3c3 Bug 466250 - build failure for cairo-gtk2 build with a directfb cairo; r=roc 2009-06-23 12:50:08 +09:00
Jonathan Watt
0c1ff4dba4 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Vladimir Vukicevic
e7c111742e b=493963; don't call win32 printing functions with --disable-printing; r=stuart 2009-06-16 11:57:34 -07:00
Karl Tomlinson
f0e88513ab backout 06a7d2def034 and 58c89ce9719d as possible cause of failure in test_bug450930.xhtml 2009-06-15 18:40:55 +12:00
Jonathan Kew
d969e680d8 Bug 475968. Pad out the glyph extents of Windows text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 25f20e31c45c26dcd0f83ea7a5d90800ead28ba0
2009-06-15 10:01:19 +12:00
Jonathan Kew
9773921373 Bug 476927. Pad out the glyph extents of Quartz text to account for possible antialiased pixels outside the regular bounds. r=roc
--HG--
extra : rebase_source : 7f5d7111ed0eb0e89f13c91e94d363739a60973e
2009-06-15 10:00:12 +12:00
Jesse Ruderman
8d01006bd7 Add crashtests 2009-06-12 19:21:09 -07:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
John Daggett
3f3ebba552 Bug 483459. Remove strict validation of table directory checksums in downloadable fonts. r=vlad 2009-05-20 16:17:28 +09:00
Shawn Wilsher
ead79c665b Backed out changeset d88e6b8fab83 (bug 486974) due to reftest parsing issues. 2009-05-18 12:30:29 -04:00
Karl Tomlinson
3f4b72a738 leak (crash)test for bug 486974 2009-05-18 21:13:39 +12:00
Robert O'Callahan
6bd55e5bac Bug 489389. Limit size of temporary surface for tiling based on current clip extents. r=vlad 2009-05-08 15:19:41 +12:00
Jonathan Kew
96c6c7a7fe bug 490777 - don't hang/crash on unpaired low surrogate codepoint in RTL text, r=roc
--HG--
extra : rebase_source : 1c278a18b1a1dd52155158775e706764b34c5972
2009-05-08 14:16:44 +12:00
Jonathan Watt
f34d9fa3aa Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Peter Weilbacher
b0342dd2e6 [OS/2] Bug 490390: fix crash with broken Wingdings font, r=wuno@lsvw 2009-04-29 01:10:56 +03: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
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
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
cmills@nvidia.com
10eebb0922 b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07: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
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
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
Robert O'Callahan
327faff295 Backed out changeset 994ecd62b880 2009-04-12 01:02:06 +12:00
Jonathan Kew
c7e46876e5 Bug 475968. Add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc
--HG--
extra : rebase_source : 552a9133411389dd151d2cb04e5b79370ec182d4
2009-04-10 13:22:54 +12:00
Jonathan Kew
d734a6961c Bug 487063. Assert that platform textruns are never called for zero-length text. r=roc
--HG--
extra : rebase_source : dc3dd429395d3219eb1f56e9ec4ecebd86bbfdae
2009-04-10 13:33:02 +12:00
Jonathan Kew
cccba81642 Bug 487063. gfxFontGroup::ComputeRanges should bail out on zero-length textruns. But avoid calling into platform textrun code for zero-length textruns, anyway. r=roc
--HG--
extra : rebase_source : 289989aaf2ebdf241e06aaf2bb46e170598e9b7b
2009-04-10 13:32:24 +12:00
Vladimir Vukicevic
9e33b4c1aa b=480134; apply 500 char limit to all OSX versions; r=roc 2009-04-07 12:24:28 -07:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Makoto Kato
ac4e7cb6a8 Bug 184657 - GFX should use the newer nsIPrefService APIs instead of nsIPref. r=roc. sr=vladimir 2009-04-04 18:43:42 +09:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
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
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
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
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -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
Robert O'Callahan
f3b2957816 Bug 481697 - TextRunWordCache::MakeTextRun: Mismatched free() / delete / delete []; r=vladimir 2009-03-08 10:39:00 +01:00