Commit Graph

1263 Commits

Author SHA1 Message Date
Karl Tomlinson
55e71bbb68 b=574156 limit Pixmap dimensions to the *signed* 16-bit range r=jrmuizel 2010-06-27 20:03:48 +12:00
Vladimir Vukicevic
245c95c82b b=573181; clean up render path on Android and prepare for GL layers rendering; r=mwu 2010-06-25 17:52:37 -07:00
Oleg Romashin
7a883a2803 Bug 548437 - Implement a SysV shared memory backend for Shmem and allow them to be used with Xshm. r=joe,sr=vladimir 2010-06-04 09:58:22 -04:00
Neil Rashbrook
9270d2e6b4 Bug 569490 Don't build D3D9 layer if we can't find d3d9.h r=ted,jmuizelaar 2010-06-06 11:37:44 +01:00
Michael Wu
63f56cde6f Bug 575421 - Improve 2D drawing path on Android, r=vlad 2010-06-28 23:42:28 -07:00
Bas Schouten
ef1cf4a69e Bug 567844 Shared builds on Windows broken by bug 546515 - Add LayerManagerD3D9 to Dll dependencies only for XP_WIN. Patch by Bas, ifdefs by Walter Meini, r=roc 2010-05-25 09:43:30 +01:00
Vladimir Vukicevic
917dfcb032 b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Oleg Romashin
df74faa7fe Bug 571832 - Bind(Release)TexImage, fix complex logic commented by vlad 2010-06-24 06:04:28 -04:00
Chris Jones
a5ab49fb9e Followup to bug 572939: Use X11Util and the already_AddRefed type coercion operator in GLContextProviderGLX and fix a potential leak-on-error. r=karlt 2010-06-23 22:52:48 -05:00
Oleg Romashin
0624a7aff7 Bustage build fix on ANDROID, EGL/non-X11 configureation. bug 571832 2010-06-23 11:50:51 -04:00
Oleg Romashin
76e24ff16e Bustage build fix on linux, EGL/X11 configureation. bug 571832 2010-06-23 11:39:33 -04:00
Oleg Romashin
d3bd6b7a5b Bug 571832 - Provide CreateForNativePixmapSurface API. r=vladimir.
--HG--
extra : rebase_source : 0f7214266a6bf449620d6b46fd14bc6978b621ee
2010-06-23 05:24:31 -04:00
Oleg Romashin
dc52950aa1 Bug 560537 - Make EGL provider use GL context created by Qt. r=bas.schouten.
--HG--
extra : rebase_source : 45a0da770a8e8a89c4ca02c67469893cd4f9872a
2010-06-23 05:24:22 -04:00
Oleg Romashin
9e9a380094 Bug 560537 - Fix indent for EGL provider. r=bas.schouten.
--HG--
extra : rebase_source : 5e2376f681dd4c638c111c74cc203c59df9c318a
2010-06-23 04:02:12 -04:00
Robert O'Callahan
68673e0e55 Bug 572288. Fix surface leak in CreateSimilarSurface. r=jrmuizel 2010-06-18 21:21:15 +12:00
Jonathan Kew
018a6f2a55 bug 571724 - check for missing hhea table; fall back to platform if unable to use harfbuzz with the given font. r=jdaggett 2010-06-16 07:37:37 +01:00
Vladimir Vukicevic
3061c863cb untabifying GLContext.cpp 2010-06-14 23:56:29 -07:00
Matt Woodrow
add71beb77 b=565833; add GLX GLContextProvider, pbuffers only; r=vlad 2010-06-14 23:55:08 -07:00
Benoit Jacob
0ff97eaf80 b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Bas Schouten
2d1a915eac Bug 564959: Re-introduce division of text ranges for analysis at proper division points. r=jfkthame 2010-06-14 17:46:30 +02:00
John Daggett
bbd0a368bc Bug 449292. Fix ReadCMAP compile error. r=vlad 2010-06-14 15:53:53 +09:00
Oleg Romashin
c1ec97595b Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar 2010-06-11 05:33:22 -04:00
Benoit Jacob
58619e4355 Bug 567209. OSMesa rendering needs to be flipped. r=vlad 2010-05-24 09:36:49 +12:00
Benoit Jacob
3a52454889 Bug 567190. Initialize ContextFormat to zero properly. r=vlad 2010-05-24 09:36:49 +12:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Vladimir Vukicevic
525840a488 b=567272; wglMakeCurrent is expensive; r=bas 2010-05-20 17:20:39 -07:00
Walter Meinl
c8241db0f1 bug564026 - [OS/2] fix linking issues with layers on shared builds r=ted
--HG--
extra : rebase_source : 10cb036b2e2e41de85d1b318d982f027d21e4554
2010-05-18 13:32:00 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Benoit Jacob
7dfee0fad7 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Brad Lassey
33de7c15c9 Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad 2010-05-19 13:11:26 -07:00
Brad Lassey
fea6ae45f8 Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad 2010-05-19 13:09:36 -07:00
Oleg Romashin
edfc506b1a Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g 2010-05-18 07:04:21 -04:00
Vladimir Vukicevic
27ea4b61fc Sprinkle some THEBES_API to fix non-libxul builds 2010-05-17 22:43:05 -07:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Jonathan Kew
9835bb0285 merged backout of c475fc8bac21 2010-05-16 11:54:47 +01:00
Jonathan Kew
7c95994203 Backed out changeset c475fc8bac21 (bug 554820) due to Hebrew regression on OS X 10.5, see bug 565766. 2010-05-16 11:53:43 +01:00
Jonathan Kew
d59bed2651 bug 554820 - prefer Windows cmap subtable to avoid problems with synthesized tables on OS X 10.6. r=jdaggett 2010-04-30 21:10:51 +01:00
Jeff Muizelaar
347084e968 Bug 562334. cairo: Fix cairo_quartz_get_cg_context_with_clip. r=vlad
A problem happens when clip->all_clipped is set and we go to get a clipped
context. Normally backends don't see operations with clip->all_clipped and so
_cairo_surface_clipper_set_clip is designed with the assumption that
clip->all_clipped is never true. I added a work-around by manually setting the
CGContextClip with an empty rectangle, however this caused cairo to be confused
about what the actual clip was.

This patch fixes the problem by adding a new function
cairo_quartz_finish_cg_context_with_clip that is called after we're done with
the native context. It moves the CGContextSave/RestoreGState calls out of
gfxNativeDrawing into cairo and uses them to ensure that the clip remains
consistent with cairo's model of them.
2010-04-29 23:19:08 -04:00
Oleg Romashin
b2716147b6 Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Oleg Romashin
ef8be4ebf8 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Masatoshi Kimura
ea58edf150 b=546013 Ignore default ignorable chars instead of drawing hexbox r=jfkthame
--HG--
extra : rebase_source : 987fa83e4465cd1e4d2a7a3653b45950b31636a7
2010-04-29 09:51:16 +12:00
Bas Schouten
181e985775 Bug 560147: Follow-up fixing non-libxul builds. This will include layers into thebes.dll, and ensure thebes.dll exposes the correct symbols. r=ted 2010-04-28 22:43:52 +02:00
Benoit Jacob
680ac240d5 Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas 2010-05-12 18:56:40 +02:00
Jonathan Kew
a338d94cff bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz 2010-05-12 13:17:58 +01:00
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