Commit Graph

1392 Commits

Author SHA1 Message Date
Mark Banner
03b593cde1 Follow up bustage fix to bug 560147, put THEBES_API in the right place. 2010-04-27 10:35:34 +01:00
Mark Banner
98f9486d33 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
be3d7aa57c Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:21:46 +02:00
Bas Schouten
b74052b922 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
d49e64c791 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
0ed5125aa7 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
7a56dc33fe Bug 540788 - disable text hinting on mobile r=vlad 2010-04-22 15:03:02 -07:00
Taras Glek
e236e4d889 Back out bug 560897. 2010-04-22 11:51:11 -07:00
Taras Glek
67941217d5 Bug 560897: close #pragma pack r=roc
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin
01323285b2 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
3e049f0588 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
733d1e3812 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
cae7487da9 Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
Jonathan Kew
e5aad4b002 bug 557736 - ignore empty elements in the font family list. r=jdaggett 2010-04-15 09:31:15 +01:00
Jonathan Kew
d38c875f0a 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
76a060d358 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
542512ff31 Add crashtests 2010-04-11 16:59:47 -07:00
Jonathan Kew
3309ec0dd8 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
9a26138ae4 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
a6ac7bede6 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
cb55ddc796 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
d1e2d517af Bug 557175 - No bug commit rev 146fdb589df5 broke Qt port compilation. r=vladimir 2010-04-07 03:54:05 -04:00
Jonathan Kew
8d40839185 bug 549190 - round dwrite font vertical metrics to improve rendering/spacing consistency. r=bas 2010-04-06 21:19:41 +01:00
Jonathan Kew
21db6be24d bug 502906 - part 4 - refactor DWrite font code to match Mac and GDI structure. r=bas 2010-04-06 21:19:39 +01:00
John Daggett
e05a9c1ef2 Bug 555091. Fix unitialized vars in GDIFontEntry. r=jkew 2010-04-06 16:57:12 +09:00
Jeff Muizelaar
208a821de1 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
46e4fa2d5a Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas 2010-04-05 22:28:54 -04:00
Doug Turner
2c7c7d9fa9 Fix Qt Gfx build bustage when using shared image surfaces. No bug 2010-04-02 11:11:31 -07:00
Doug Turner
70e2bdb1ab 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
d509dc0e16 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
098d13a7bd 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
1faa0a4f90 Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert
9d9224d62d 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
fdb1e0190d Add tests to manifest. (Homeless tests identified by script in bug 551617.) 2010-03-31 20:17:35 -07:00
Jonathan Kew
e18e7c3dbf bug 555930 - directwrite font code failed to initialize superscriptOffset. r=bas 2010-03-31 13:46:18 +01:00
Bas Schouten
abf137066f Bug 552284: Check if we're valid before computing metrics. r=jfkthame 2010-03-20 18:25:37 +01:00
Jonathan Kew
59f4579506 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
6b6667800c 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
ec3c69319a Bug 538266. Part 1: create gfx3DMatrix. r=jrmuizel 2010-03-02 12:08:26 +13:00
Mats Palmgren
95f218a395 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
68e947fdde 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
18db02db59 bug 552216 bustage fix, missed deleting a line 2010-03-14 12:56:59 +00:00
Jonathan Kew
1cf754e68e fix Windows bustage from bug 552216. 2010-03-14 12:13:21 +00:00
Jonathan Kew
5631bd435a 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
d97c21160c Bug 524449 - Remove nsIPref from tree. r+sr=benjamin 2010-03-13 22:25:13 +09:00
Bas Schouten
ecde060c64 Bug 551945: Fix a mistake in double pass from changeset 53a85c489708. r=jfkthame 2010-03-12 14:09:53 +01:00
Jonathan Kew
769b6a40c3 bug 549169 - account for font-size-adjust in DWrite font code. r=bas 2010-03-12 11:57:49 +00:00
Bas Schouten
3b2115fe46 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
2c21dc5996 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
51423bca7a Bug 549816. Adjust meaning of needsBold flag. r=bas 2010-03-12 13:26:43 +09:00
Bas Schouten
56f398990f Bug 549816. Fix synthetic bolding with dwrite. r=jkew,jdaggett 2010-03-12 13:25:35 +09:00
James Cook
1342a5a01f 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
a098ff208d follow up from bug 534136, fix build bustage for WinMo debug r=jonas 2010-03-10 15:47:45 -05:00
Jonathan Kew
d56e0f4d7b 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
5058eb564c bug 548863 - eliminate warning about CreateFontInstance on mobile. r=jdaggett 2010-03-10 12:46:36 +00:00
Steven Michaud
c3cac2c620 Bug 541809 - Firefox autoreleasing objects without pool in place. r=josh,jfkthame 2010-03-09 10:37:56 -06:00
Oleg Romashin
f4222761ff Bug 550877 - Crash happen on attempt to delete bad created gfxShareImageSurface. r=dougt. 2010-03-08 19:28:54 +02:00
Jonas Sicking
c7c7514f75 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
c24e5442a9 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
5099a845d8 Bug 550772 - fallback pref font handling for CJK fonts is broken r=jdaggett 2010-03-08 18:14:56 +09:00
Walter Meinl
5488a111ee 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
6fc8159e23 Bug 550468 - Fix support for Pango font engine on Qt platform. r=karlt. 2010-03-06 15:29:55 +02:00
Mike Kristoffersen
cd34b8821b 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
42bdb4798e Bug 549666: Native rects should be pixel aligned. r=vlad 2010-03-04 20:30:16 +01:00
Brad Lassey
b5f014533e bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Simon Montagu
d6b0caacfa Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Jonathan Kew
94b1deeb62 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
20c3a82f42 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
3bcdffc461 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
8b51b77bd1 Bug 547657 gfxSharedImageSurface.cpp failed to compile on Solaris r=jrmuizel 2010-03-02 13:57:21 +08:00
Bas Schouten
3734f540df 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
77966dd811 Bug 548983. Override GetStandardFamilyName for the DWrite font list. r=bas 2010-02-28 16:27:22 +09:00
Neil Rashbrook
4490e60974 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
cf84dfafe8 Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten
ce3d5e1f69 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
79a3603e5a 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
b45694ede3 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
7a3339c3b1 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
365fbafa0d 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
a7181c3103 Bug 533251. Always insert default font if needed when rebuilding font list. r=jkew 2010-02-24 16:18:49 +09:00
Mark Banner
4c06b82d1f Possible bustage fix for shared,non-libxul builds following Bug 544250. r=bustage fix 2010-02-20 09:42:55 +00:00
Oleg Romashin
41619292af Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar. 2010-02-19 19:46:54 -08:00
Jonathan Kew
975bbb6407 Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett 2010-02-18 11:52:44 +00:00
Jonathan Kew
4b78f496fe 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
13a892129b Bug 545317. Trim out redundant font cache handling code. r=jkew 2010-02-18 12:31:20 +09:00
Doug Turner
1bd4991eb7 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner
8366c79f83 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
2503ebeb57 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:32:35 -08:00
Oleg Romashin
15934f9c53 Bug 544250 - Implement different rendering backends for Qt mozilla port. r=jmuizelaar 2010-02-16 10:15:52 -08:00
Jonathan Kew
8e56dadbb9 Bug 541924 followup - use the predefined nsStringHashSet class instead of nsTHashtable<nsStringHashKey>. r=jdaggett 2010-02-11 07:00:07 -05:00
Jonathan Kew
f51ad94a17 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
fe65b9df27 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
9be7ff6cd7 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
eea722cbe7 Bug 540702: fix incorrect char-to-glyph array indexing. r=jdaggett 2010-01-30 13:16:35 +00:00
Jonathan Kew
50ee058a8a 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
1e792dd3a5 Bug 542162 - Use fullname and Postscript name tables for src local lookups. r=jkew 2010-01-29 10:41:25 +09:00
Jonathan Kew
11b4d1ada5 Bug 541924: fix regression in handling bad-underline fonts blacklist on Windows. r=jdaggett 2010-01-28 06:56:16 +00:00
Jonathan Kew
0cf55992f3 Bug 542453: use nothrow and null-checking for potentially large allocations. r=roc 2010-01-27 22:23:57 +00:00
Jonathan Kew
6c7732e56d Bug 541277: correct boundary handling in character/glyph clump processing. r=roc 2010-01-27 07:46:31 +00:00
Jacek Caban
aef70d0dfa Bug 529734 - Firefox 3.6b3 Crash [@ CMValidateProfile ]; mingw fix v1.1.
r=neil.
2010-01-24 14:58:31 +01:00