Commit Graph

502 Commits

Author SHA1 Message Date
jdaggett@mozilla.com
8086634599 Bug 411090. Bail reading cmap when table offset is beyond the end of the table. r+sr=pavlov 2008-01-29 14:12:11 -08:00
jdaggett@mozilla.com
9d023a57e2 Bug 400717. Explicitly set NSUnitalicFontMask and NSUnboldFontMask font traits to avoid 10.5 inconsistency. r+sr=vlad 2008-01-29 13:41:46 -08:00
gavin@gavinsharp.com
26c458ae81 Bustage fix from bug 404310 by John Daggett <jdaggett@mozilla.com>, r=josh, sr=stuart, a=Mossop (avoid enum conflict with 10.5 SDK) 2008-01-29 09:25:37 -08:00
jdaggett@mozilla.com
800de79502 Bug 404310. Restructuring gfxQuartzFontCache for faster startup, better lookup speed. r=vlad, sr=pavlov 2008-01-28 22:00:55 -08:00
vladimir@pobox.com
d7f4f31ade re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart 2008-01-28 11:05:44 -08:00
roc+@cs.cmu.edu
e5384b1d5d Bug 410728. gfxTextRunWordCache should not cache words that start with a combining mark (words whose first character clusters with a preceding space). r=vlad 2008-01-28 09:35:44 -08:00
roc+@cs.cmu.edu
cebf4554c4 Bug 410728. gfxWindowsFonts should not start a font-change run in the middle of a surrogate pair. r=pavlov 2008-01-28 09:30:18 -08:00
vladimir@pobox.com
1afbefd8e2 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com
7bf8a75184 b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart 2008-01-27 15:53:24 -08:00
jwatt@jwatt.org
1aae5446b2 Fixing bug 272885. Disable rendering of some elements when their width or height is zero. r=tor@acm.org, sr=vladimir@pobox.com, a1.9=mtschrep@gmail.com 2008-01-27 12:39:27 -08:00
longsonr@gmail.com
25d677831d Bug 377085 - line svg element getBBox() returns bad rect. r+sr=tor,a1.9=blocking1.9+ 2008-01-27 06:55:53 -08:00
karlt+@karlt.net
817d4d3497 Restore gfxPangoFontCache because of Tp slip b=401988. 2008-01-27 02:27:08 -08:00
karlt+@karlt.net
a06e31d7bd Remove gfxPangoFontCache as this doesn't include language in the key, and gfxFontCache should do this caching (with expiration). b=401988 r=pavlov. 2008-01-27 01:24:04 -08:00
karlt+@karlt.net
7c0813705d Bug 401988 - gfxPangoFontGroup::CreateGlyphRunsItemizing must use gfxPangoFont corresponding to the PangoFont from pango_shape (wrong glyphs selected when falling back to fonts of different style). Provide fontconfig with information re requested font even when non-existant. Map FONT_WEIGHT_NORMAL to Regular not Medium weight fonts. r=pavlov, sr=roc. 2008-01-26 23:37:29 -08:00
roc+@cs.cmu.edu
1d2bbe2e33 Backing out 410728 to fix Windows orange 2008-01-26 16:44:24 -08:00
roc+@cs.cmu.edu
19ab494e6e Bug 410728 crashtest 2008-01-26 14:59:19 -08:00
roc+@cs.cmu.edu
a0a5ba9442 Bug 410728. Detect words that start with a combining mark, and don't cache them. r=vlad 2008-01-26 14:50:27 -08:00
mozilla@weilbacher.org
1bc906a8e4 Bug 376790: remove support for non-cairo GFX ports from configure.in, r=ted.mielczarek, a=mtschrep 2008-01-23 00:27:47 -08:00
karlt+@karlt.net
a662225a04 Touch ups to gfxFontCache, for gfxFonts that are added twice and for those that are not accessed through AddNew() and Lookup(). b=401988, r+sr=roc 2008-01-21 19:11:46 -08:00
jdaggett@mozilla.com
634332958f Bug 412859. Use the first group font instead of the previous font when doing system-wide font fallback. r+sr=roc 2008-01-20 22:36:47 -08:00
roc+@cs.cmu.edu
932627984e Bug 412859. Some code to dump the contents of the textrun word cache. debug only. r=pavlov 2008-01-20 17:23:50 -08:00
jruderman@hmc.edu
89d4d52b04 Add crashtest 2008-01-20 16:18:38 -08:00
alfred.peng@sun.com
e50b06fd7a Bustage fix for bug 405268. 2008-01-19 19:28:17 -08:00
alfred.peng@sun.com
047db295c6 Bug 405268. Crash [@ gfxPangoFontGroup::CreateGlyphRunsItemizing gfxPangoFonts.cpp:1153]. r=mozbugz@karlt.net sr=pavlov a=blocking1.9+ 2008-01-19 19:01:18 -08:00
karlt+@karlt.net
3f4314eabf Restore gfxPangoFontCache to see if this resolves Tp slip from previous change. 2008-01-18 19:20:07 -08:00
karlt+@karlt.net
d312d51d70 Don't store PangoFontDescription and PangoContext in gfxPangoFonts, and remove gfxPangoFontCache. b=401988 r=pavlov 2008-01-18 17:43:26 -08:00
dolske@mozilla.com
5317da7abc Bug 412378 - crash in gfxPlatformGtk::CreateOffscreenSurface() when using xpcshell. r=stuart, a=schrep 2008-01-18 15:50:24 -08:00
jag@tty.nl
adfbdddb06 Bug 406580: Faster copying of RGB pixel data For non-Windows, use ntohl() which should compile down to an inline bswap or equivalent. On Windows use _byteswap_ulong() or for MinGW a generic fast implementation. r=pavlov, a=blocking 2008-01-16 20:06:40 -08:00
mats.palmgren@bredband.net
60f971e921 MakeSpaceTextRun() should short-circuit zero-sized fonts. b=407352 r+sr=roc a=dsicore 2008-01-13 23:05:19 -08:00
mats.palmgren@bredband.net
f188122a00 Crash test for bug 407842. 2008-01-12 20:09:56 -08:00
masayuki@d-toybox.com
f9868c6084 Bug 410748 Control borders are not drawn correctly r+sr+a=roc 2008-01-12 09:30:27 -08:00
roc+@cs.cmu.edu
a5421d9e91 Bug 410228. Fix crash when an uppercased szlig has a font-change in the middle of it, r=smontagu 2008-01-09 15:33:34 -08:00
roc+@cs.cmu.edu
fd6341739a Bug 411334. Try optimistically to not use a temporary group for SVG drawing on Mac. If drawing fails we try again with a temporary group. r+sr=vlad 2008-01-09 14:53:59 -08:00
jdaggett@mozilla.com
d82c3831fa Bug 410954. Don't add fallback fonts to the font group list. Add better weight matching. r+sr=pavlov 2008-01-09 00:51:44 -08:00
masayuki@d-toybox.com
b32b439138 a part of bug 410748 (not fixes it) r+sr=roc, a=mtschrep 2008-01-06 23:00:49 -08:00
roc+@cs.cmu.edu
60d6d6e42a Fixing bustage again 2008-01-06 17:32:23 -08:00
roc+@cs.cmu.edu
857dec576b Fixing bustage 2008-01-06 17:14:34 -08:00
roc+@cs.cmu.edu
d9682e9206 Bug 408182. Turn off Gfx pixel-snapping for print contexts. r=vlad 2008-01-06 16:50:18 -08:00
jruderman@hmc.edu
b0dd2f3437 Add crashtests 2008-01-06 16:31:45 -08:00
jruderman@hmc.edu
30151fddda Add crashtest. 2008-01-06 16:26:21 -08:00
jruderman@hmc.edu
df72737b77 Add a crashtest. 2008-01-06 16:19:32 -08:00
jruderman@hmc.edu
f66400ba83 Add crashtest 2008-01-06 16:16:50 -08:00
jruderman@hmc.edu
cbd64a7cfc Adding crashtest 2008-01-06 16:15:08 -08:00
jruderman@hmc.edu
3e0a1c7a2f Add crashtest 2008-01-06 15:35:55 -08:00
jruderman@hmc.edu
e91684cf80 Adding crashtest 2008-01-06 15:33:31 -08:00
jruderman@hmc.edu
291c2e4b19 Add crashtest 2008-01-06 15:05:40 -08:00
reed@reedloden.com
d0d1204651 Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 20:42:49 -08:00
reed@reedloden.com
4e430b4837 Back out Alfred Kayser's patch from bug 383166 due to Ts regression. 2007-12-31 15:41:12 -08:00
reed@reedloden.com
9698ff5663 Bug 383166 - "stack-allocate gfxContext where possible" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+a1.9=stuart] 2007-12-31 12:46:27 -08:00
jdaggett@mozilla.com
86234c3ffa Bug 396137. Use Windows cmap font matching in place of ATSUI font matching. r+sr=pavlov 2007-12-27 17:28:26 -08:00
dolske@mozilla.com
0afd103072 Bug 409381 - gif images (with transparency) display corrupted. p=swsnyder@insightbb.com, r,sr=vlad, a=blocking-1.9+ 2007-12-23 21:41:18 -08:00
reed@reedloden.com
eefba1c239 Bug 406580 - "Faster copying of RGB pixel data" (Fix the build on FreeBSD) [p=reg@freebsd.org (Jeremy Lea) r+a1.9=stuart] 2007-12-21 22:17:21 -08:00
reed@reedloden.com
75020332e3 This doesn't seem to compile on Mac. 2007-12-21 02:39:33 -08:00
reed@reedloden.com
100f2a76b4 Bug 406580 - "Faster copying of RGB pixel data" (Where Alpha=0xFF, keep RGB values contiguous in pixel copying) [p=swsnyder@insightbb.com (Steve Snyder) r+a1.9=stuart] 2007-12-21 02:26:31 -08:00
roc+@cs.cmu.edu
8957ddc374 Bug 407761 crashtest 2007-12-20 23:28:53 -08:00
roc+@cs.cmu.edu
32348d899d Bug 407761. Don't try to get/use extents for missing glyphs, and tolerate glyph extents that might be missing due to OOM. r=vlad 2007-12-20 23:09:50 -08:00
karlt+@karlt.net
c87f7d77cc backing out mMetrics->xHeight test in revision 1.161 to try to fix MozillaAliveTest. 2007-12-19 14:16:46 -08:00
karlt+@karlt.net
b81332659b changing floats to double to try to fix MozillaAliveTest. 2007-12-19 13:55:35 -08:00
karlt+@karlt.net
8a518097c5 Bug 407415 - NaNs in gfx*Font with font-size:0 and font-size-adjust. r=roc a=schrep 2007-12-19 12:37:49 -08:00
jruderman@hmc.edu
2dafd7afb4 Skip this test on Linux because it is causing crashes for some users (but oddly, not on Tinderbox). See bug 408746. 2007-12-19 10:24:13 -08:00
karlt+@karlt.net
d3c32ac10b Bug 405393 - ZWNJ and ZWJ unicode characters are failing to render correctly. r=roc. 2007-12-18 13:50:03 -08:00
mats.palmgren@bredband.net
e0e282c7d5 Crashtests for bug 404112. 2007-12-17 02:15:04 -08:00
mats.palmgren@bredband.net
42edb16342 Don't ask Pango for metrics of zero size fonts (it crashes some versions of libpango), instead set all the metrics to zero. b=404112 r=mozbugz@karlt.net sr=pavlov@pavlov.net a=blocking1.9 2007-12-17 01:25:25 -08:00
jruderman@hmc.edu
e71ebbe884 Add more crashtests 2007-12-16 13:58:14 -08:00
jruderman@hmc.edu
cda05b73d3 Add crashtests 2007-12-16 13:54:13 -08:00
jruderman@hmc.edu
f27c62a9ae Add crashtest 2007-12-15 22:02:11 -08:00
jruderman@hmc.edu
450c66a4d4 Has anyone seen my +5 keyboard of crashtesting? 2007-12-15 16:38:50 -08:00
jruderman@hmc.edu
1f293056ad Fix strict warning 2007-12-15 13:16:51 -08:00
jruderman@hmc.edu
93f4d4c316 In soviet russia, crash tests you! 2007-12-15 13:15:57 -08:00
jruderman@hmc.edu
aa49fdf08b Add a crashtest. 2007-12-14 22:53:34 -08:00
jruderman@hmc.edu
15550b21aa Add crashtest 2007-12-14 22:46:08 -08:00
jruderman@hmc.edu
da1a2651ae Add crashtests. 2007-12-14 22:35:47 -08:00
karlt+@karlt.net
a7f7f0a5d0 Bug 407415 - NaNs in gfxPangoFont::RealizeFont with font-size:0 and font-size-adjust. r=roc a=dsicore 2007-12-13 20:16:47 -08:00
mozilla@weilbacher.org
24ec805ac5 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
mozilla@weilbacher.org
73ea6c1e24 [OS/2] Bug 381333: enable kerning when high quality rendering is on 2007-12-11 12:51:07 -08:00
mozilla@weilbacher.org
62f08a3525 [OS/2] Bug 406447: use gfxFontCache on OS/2 2007-12-03 14:31:03 -08:00
mozilla@weilbacher.org
3a4ae65fca [OS/2] Bug 404196: fix calculation of space width in GetMetrics, so that monospaced text always lines up nicely 2007-12-03 14:22:36 -08:00
mozilla@weilbacher.org
0c8ebfaaa5 [OS/2] widths should be scaled with the horizontal scale factor (obvious typo without bug) 2007-12-02 08:37:16 -08:00
reed@reedloden.com
2ace02e7c0 Bug 404820 - Reading uninitialized memory in gfxFont::Measure with zero-length string [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=pavlov a=blocking1.9+] 2007-11-30 22:52:47 -08:00
roc+@cs.cmu.edu
bf83e698c5 backing out 404820 in case it caused Linux Ts regression 2007-11-30 18:18:16 -08:00
roc+@cs.cmu.edu
cc04531c5a Bug 404820. Reading uninitialized memory in gfxFont::Measure with zero-length string. r=pavlov 2007-11-30 12:06:36 -08:00
vladimir@pobox.com
8d3e2ba206 fix typo 2007-11-29 14:19:53 -08:00
vladimir@pobox.com
11e3011229 fix linux bustage 2007-11-29 12:16:04 -08:00
vladimir@pobox.com
c06f0dc4e3 b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
mozilla@weilbacher.org
5051cc2766 [OS/2] Bug 381330: improve handling of system fonts, automatically replace WarpSans by Workplace Sans if available. OK from wuno for code via testing and stevew for the documentation part. 2007-11-28 13:46:10 -08:00
reed@reedloden.com
96f5ba58d1 Bug 364221 - "[cairo] bad page scrolling performance with large background images" [p=alfredkayser@nl.ibm.com (Alfred Kayser) / vladimir@pobox.com (Vladimir Vukicevic [vlad]) r=stuart sr=tor a=blocking1.9+] 2007-11-27 01:35:18 -08:00
vladimir@pobox.com
d3038b89d4 b=403481 followup; do the right cleanup in some error conditions; r=stuart 2007-11-26 17:40:03 -08:00
vladimir@pobox.com
7e8a6aaac0 b=403481, massive linux/gtk memory leak with images, r+sr=stuart 2007-11-26 16:22:39 -08:00
vladimir@pobox.com
f961025905 b=379430, print preview hangs X, r+sr=roc,a=schrep 2007-11-26 16:20:52 -08:00
karlt+@karlt.net
e70c18246d Bug 404723 - font selection doesn't fallback to css families r=pavlov a=blocking1.9+ 2007-11-21 14:26:41 -08:00
mozilla@weilbacher.org
6b42d39c8a [OS/2] Bug 381333: first cut at replacing glyphs missing from the primary font from secondary (unicode and user-defined) fonts 2007-11-17 14:22:04 -08:00
mozilla@weilbacher.org
7873d1554e [OS/2] fix stupid mistake with masks when converting from UTF8 to 32bit number 2007-11-17 11:58:50 -08:00
mozilla@weilbacher.org
e1a695b187 [OS/2] fix build bustage following bug 403589 2007-11-16 12:50:06 -08:00
roc+@cs.cmu.edu
e742209dee Fixing bustage 2007-11-15 17:51:59 -08:00
roc+@cs.cmu.edu
2675d646bc Bug 403589. Fuse memory allocations in gfxTextRun. r=pavlov 2007-11-15 17:43:47 -08:00
smontagu@smontagu.org
f90f784a21 Go back to adding bidi overrides to text-runs. Prevents assertions and a regression in shaping LTR Arabic. Bug 402427, r+sr=roc, blocking1.9=pavlov 2007-11-11 11:40:34 -08:00
tor@cs.brown.edu
5e3273e0f1 Bug 402787 - gradients not color corrected. r=vlad, a=pavlov 2007-11-09 10:14:59 -08:00
reed@reedloden.com
ec9b5160d0 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
reed@reedloden.com
50d128a352 Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00
reed@reedloden.com
2fc6943fb7 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-07 20:31:33 -08:00
reed@reedloden.com
39d7d0c750 Bug 380464 - "crashed [@ gfxPlatformGtk::SetSurfaceGdkWindow] in case where I used to see bug 263160" [p=vlad r=stuart a=blocking1.9+] 2007-11-07 00:51:53 -08:00
pavlov@pavlov.net
2a19a7d52a bug 394751. hang with long lines of text and page break characters. patch from Chris Pearce <chris@pearce.org.nz>. r=me 2007-11-06 22:35:38 -08:00
pavlov@pavlov.net
480cd1bd7a bug 396315. correctly fetch cmaps for all fonts. r=vlad 2007-11-06 20:58:16 -08:00
pavlov@pavlov.net
4d55db7b49 bug 399369. disable font fallback when a character is in the PUA. r=smontagu 2007-11-06 20:53:47 -08:00
pavlov@pavlov.net
50c94f8f78 bug 399813. set maxAdvance correctly. r=roc a= beltzner 2007-11-01 13:51:05 -07:00
karlt+@karlt.net
fcb9603fbc Bug 399556: don't pango_fc_font_map_shutdown in release builds. r=pavlov, aM9=beltzner 2007-10-30 15:35:21 -07:00
pavlov@pavlov.net
3d71671cd3 bug 399556. only clean up cairo in debug/test builds. r=vlad a=beltzner 2007-10-25 18:21:50 -07:00
smontagu@smontagu.org
21d673a398 Fix the positioning of diacritics in right-to-left languages and clean up a bunch of typos in bidi reftests. Bug 386573, r+sr=roc, a=vlad 2007-10-25 02:32:01 -07:00
roc+@cs.cmu.edu
4b80cff404 Bug 396321. Make gfxTextRunWordCache strip bidi control characters when it creates a text run, ensuring that platform text engines never see such characters. r=pavlov,a=vlad 2007-10-24 14:39:23 -07:00
jdaggett@mozilla.com
9061c61d0a Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
roc+@cs.cmu.edu
19579790dd Bug 395458. Blacklist more characters that cause problems when passed to font engines. r=pavlov,a=vlad 2007-10-23 17:15:10 -07:00
mozilla@weilbacher.org
ed87e29a3e [OS/2] Bug 371505: finally fix repaint issues with Thebes 2007-10-22 10:59:24 -07:00
mozilla@weilbacher.org
51a977b0a7 [OS/2] Bug 381333: fail metrics computation when face cannot be locked (fixes crash with font-size:0) 2007-10-19 12:24:03 -07:00
reed@reedloden.com
ce7094da13 Bug 393630 - "Potential crash on oom in GenerateAlternativeString" [p=masayuki@d-toybox.com (Masayuki Nakano) r=stuart a1.9=damons] 2007-10-19 01:10:28 -07:00
reed@reedloden.com
bdbb4df157 Bug 386065 - "legend {font-size:0;} still shows the text (yahoo.com mainpage)" [p=chris@pearce.org.nz (Chris Pearce) r+sr=roc a=blocking1.9+] 2007-10-11 21:22:25 -07:00
karlt+@karlt.net
15267eb778 Bug 397288: use CreateGlyphRunsItemizing when CreateGlyphRunsFast fails. r+a=pavlov 2007-10-11 18:05:16 -07:00
bzbarsky@mit.edu
12130e0ab9 Fix build bustage when building with old enough gtk. Bug 362682 followup, r=stuart 2007-10-07 16:09:55 -07:00
pavlov@pavlov.net
b2a85e03a8 removing code that breaks when compiled with newer pangos 2007-10-07 15:52:33 -07:00
pavlov@pavlov.net
1f462f4104 removing printf that snuck in. 2007-10-06 14:07:32 -07:00
pavlov@pavlov.net
73d97b6c94 bug 362682. re-re-landing linux text goodness. r=vlad, patch by me and Behdad Esfahbod <mozilla@behdad.org>. 2007-10-06 00:26:13 -07:00
vladimir@pobox.com
51c2b1c2b4 b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
roc+@cs.cmu.edu
1fb7f38610 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
roc+@cs.cmu.edu
aa2f1bb4bf Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
07952e214b Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
masayuki@d-toybox.com
441b843142 Bug 395866 font fallback does not respect stylesheet font list r=vlad, b1.9=stuart 2007-09-28 10:33:50 -07:00
joshmoz@gmail.com
6ea83c78e0 fix major font problem when using the Mac OS X 10.5 SDK. Patch by John Daggett. b=397454 r=roc/vlad sr=roc a=pav 2007-09-28 09:51:11 -07:00
pavlov@pavlov.net
6a813422a6 backing out, again.. not sure what the leaks are. 2007-09-27 17:15:59 -07:00
pavlov@pavlov.net
4ca7fa0c65 unlock the right object. 2007-09-27 16:37:31 -07:00
pavlov@pavlov.net
cec4899e27 unlock causes other badproblems. 2007-09-27 16:35:55 -07:00
pavlov@pavlov.net
af844f43c0 removing some tabs that snuck in + fixing leak by unlocking the FT_Face after we lock it. hopefully fixing leaks caused by previous patch 2007-09-27 16:31:29 -07:00
pavlov@pavlov.net
cdaedc6fdf whoops, this shouldn't have gone in 2007-09-27 16:04:14 -07:00
pavlov@pavlov.net
57cf17aabe bug 362682. relanding linux text goodness. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-27 15:15:51 -07:00
mozilla@weilbacher.org
9d5c0f3120 [OS/2] Bug 397514: Fix build break following for bug 96041, p=wuno, r=me 2007-09-27 09:41:46 -07:00
vladimir@pobox.com
4dd2e87496 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
smontagu@smontagu.org
4b4bd5501f Set fLogicalOrder in the SCRIPTITEM before copying to the ranges so that ScriptPlace has it set. Bug 395676, r+blocking1.9=pavlov 2007-09-25 08:41:34 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
vladimir@pobox.com
77096b4031 b=838960, ugprade cairo to 1.5.x; and b=377336, printing page from win32 results in hung app, r=stuart 2007-09-20 12:24:47 -07:00
smontagu@smontagu.org
5066adf227 Display one hex box with six digits for non-BMP codepoints with no glyph. Bug 376532, r+sr+a=roc 2007-09-20 03:16:15 -07:00
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
mozilla@weilbacher.org
bb46dfab9e [OS/2] Bug 395301: Move offscreen surface creation from gfxOS2Platform to gfxOS2Surface 2007-09-18 14:20:25 -07:00
masayuki@d-toybox.com
1173d0d90c Bug 380026 "text-decoration: underline" for CJK characters is positioned higher than expected r+a=vlad 2007-09-18 02:40:24 -07:00
mozilla@weilbacher.org
ed621ca158 [OS/2] Creation of a minimal 1x1 surface is good enough, and we always own the PS in the gfxOS2Surface(HWND) constructor. Part of work in bug 371505. 2007-09-08 08:29:21 -07:00
mozilla@weilbacher.org
d473eff5d6 [OS/2] Make debug output in gfxOS2Surface a bit more useful 2007-09-08 07:50:09 -07:00
masayuki@d-toybox.com
bc4a238d72 backing out previous checked-in, because some tests are failed in tinderbox 2007-09-05 16:46:09 -07:00
masayuki@d-toybox.com
60b878b0b3 Bug 380026 'text-decoration: underline' for CJK characters is positioned higher than expected. r+a=vlad 2007-09-05 16:03:04 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
roc+@cs.cmu.edu
452c3645a1 Bug 394384. Fix accounting error when tracking the number of times a textrun is referenced from the word cache. debug-only. r+a=pavlov 2007-09-03 20:40:14 -07:00
roc+@cs.cmu.edu
a44b81dc92 Bug 388367. Treat form-feed as one of the characters that always breaks up textrun words and should never be passed to platform textrun code. r+a=vlad 2007-09-03 19:38:33 -07:00
masayuki@d-toybox.com
5a84442569 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
masayuki@d-toybox.com
bfe2436be6 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
8541f8f7f0 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
masayuki@d-toybox.com
f05b084582 Bug 393819 Assertion: What's this case?: 'result == 0 || result == 1' in gfxFontconfigUtils when different fonts have a common family name. patch by Karl Tomlinson <mozbugz@karlt.net> r+a=pavlov 2007-08-30 23:30:59 -07:00
martijn.martijn@gmail.com
7f8e139020 Bug 394223 - Mingw build error in gfxWindowsFonts.cpp:1460, r+a=vlad 2007-08-30 17:09:40 -07:00
tor@cs.brown.edu
280f80abef Bug 393109 - treat system colors as output device values. r+a=pavlov 2007-08-30 09:21:16 -07:00
pavlov@pavlov.net
448c760419 bug 378457. use nsAutoBuffers instead of mallocs for unsicribe item data. r=vlad, sr=bsmedberg. original patch from David Humphrey <david.humphrey@senecac.on.ca> 2007-08-28 13:44:12 -07:00
roc+@cs.cmu.edu
863902e5d6 Bug 390234. Coalesce glyph runs after sorting them, gets them into the canonical form. Also add debug code to help track down textrun-cache related crashers. r=vlad 2007-08-26 16:44:00 -07:00
philringnalda@gmail.com
ca955a1140 Bug 379886 - Font preferences panel selects random fonts in cairo builds, patch by Karl Tomlinson <mozbugz@karlt.net>, r+sr=vlad/pavlov 2007-08-26 14:34:03 -07:00
smontagu@smontagu.org
f5a37e33c7 Override fLinkBefore except for the first range of an item, and fLinkAfter except for the last range. Bug 391045, r+a=pavlov 2007-08-26 10:28:56 -07:00
asqueella@gmail.com
f84d6685a6 Bug 390787 - Many fonts and widgets do not display: assert that cairo_scaled_font_create succeeds but recover if it doesn't p=Karl Tomlinson <mozbugz@karlt.net> r+sr=pavlov a=1.9 blocker 2007-08-25 11:33:45 -07:00
pavlov@pavlov.net
8dad34c0fb bug 393632. cache cjk resolved font list as well. r=elif 2007-08-24 17:00:41 -07:00
pavlov@pavlov.net
0f6d3000c8 bug 393626. fixing a bug causing us to always append the system default font to the list of font entries... r=elif 2007-08-24 16:05:07 -07:00
pavlov@pavlov.net
2a422a28e9 bug 388706. cache resolved fonts per language group. r=elif 2007-08-24 12:41:16 -07:00
mozilla@weilbacher.org
c838dc2d9c [OS/2] Bug 381333: replace method to scale from font units to pixels. Instead of gfxPangoFonts-like macros use the procedure outlined in the FreeType tutorial. This takes advantage of gfxFloats. 2007-08-19 05:36:21 -07:00
mozilla@weilbacher.org
06cd0f29f3 [OS/2] Bug 381333: - use emHeight instead of xHeight to compute properties in case OS/2 font table is not present - use FT_LOAD_NO_SCALE before measuring characters to get font units - add adjusted size calculation similar to other platforms For some reason these changes also fix the Acid2 test. 2007-08-19 05:27:23 -07:00
mozilla@weilbacher.org
d15dfeee5b [OS/2] Bug 381333: make debug output more helpful 2007-08-19 05:05:23 -07:00
sharparrow1@yahoo.com
99229009b5 Bug 382458, additional patch to fix repainting problems with theming and pixel rounding. r=vlad, a=blocking1.9+ 2007-08-17 13:30:23 -07:00
vladimir@pobox.com
10ea784eab b=391583, DoesARGBImageDataHaveAlpha is slow, r=stuart,a=me 2007-08-17 12:54:58 -07:00
masayuki@d-toybox.com
5dcd053a56 Bug 365414 overflowed decoration lines are not erased/painted r+sr=roc 2007-08-14 09:39:54 -07:00
mats.palmgren@bredband.net
bce3d84005 Bustage fix. b=391243 2007-08-14 04:46:26 -07:00
mats.palmgren@bredband.net
c366407693 Don't crash when CurrentSurface() or GetDC() return null. b=391243 r+sr+a=vladimir 2007-08-14 02:47:37 -07:00
pavlov@pavlov.net
22dc8c001a make bitmap fonts support their space character. bug 386389. r=vlad 2007-08-10 13:00:03 -07:00
roc+@cs.cmu.edu
ed8c84cc19 Bug 391068. Fix ATSUI cluster analysis loop. r=vlad,a=pavlov 2007-08-09 19:24:38 -07:00
roc+@cs.cmu.edu
58c739db36 Bug 385719. Allow text substrings passed to gfxTextRun APIs to start or end in the middle of a cluster. r+a=pavlov 2007-08-09 18:35:32 -07:00
vladimir@pobox.com
6d5c29bde2 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
vladimir@pobox.com
5b56ef41e2 b=383512, make (win32) gfx support text drawing onto any surface type, r/a=stuart 2007-08-07 15:46:42 -07:00
benjamin@smedbergs.us
f8759d93ca Bug 387132 followup - build the reftest-fast tool correctly with libxul, r=vlad a=only functional change is NPOB 2007-08-06 13:13:19 -07:00
mats.palmgren@bredband.net
454cf053a6 Bail out of gfxFont::Draw if setting up the Cairo font fails. b=390476 r+sr=pavlov a19=pavlov 2007-08-06 05:30:13 -07:00
masayuki@d-toybox.com
70fdc2568a The additional patch for bug 364786 r=vlad 2007-08-03 11:37:50 -07:00
mozilla@weilbacher.org
926a5510ea [OS/2] Bug 390077: OS/2 build break after integration of lcms (work around OS/2 typedef), p=wuno, r=pavlov 2007-08-03 08:37:27 -07:00
vladimir@pobox.com
9521c6d47f b=390202, trunk topcrash gfxFont::Draw, r=stuart,a=damon 2007-07-31 13:34:43 -07:00
roc+@cs.cmu.edu
d1da448c24 Trivial fix that should fix Linux reftests 2007-07-26 04:22:57 -07:00
roc+@cs.cmu.edu
917c4632c9 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
jwalden@mit.edu
24e0e3c1a9 --enable-tests bustage fix, after color management landing. r=sparky 2007-07-23 18:06:07 -07:00
pavlov@pavlov.net
d04ad3b03b adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me 2007-07-23 15:02:17 -07:00
longsonr@gmail.com
f72b06b167 Bug 388385 - Memory leak with SVG patterns and clipPaths. r+sr=vladimir 2007-07-23 01:54:52 -07:00
ted.mielczarek@gmail.com
59fd01917d fix thunderbird bustage from bug 388663 2007-07-19 08:21:13 -07:00
pavlov@pavlov.net
5361b70e67 export thebes symbols from libxul. bug 388663. r=vlad 2007-07-18 17:13:14 -07:00
benjamin@smedbergs.us
a5b168b6fe Bug 388542 - --disable-libxul broken in thebes (in some circumstances), r=vlad 2007-07-18 08:52:41 -07:00
vladimir@pobox.com
ea6bd8313f b=364300, monospace font sometimes isn't with ATSUI, breaking cols attribute of textarea, r+sr=roc 2007-07-18 07:41:40 -07:00
vladimir@pobox.com
4d0a020e08 b=364786, improve Mac font selection, r=masayuki,sr=roc 2007-07-18 07:22:06 -07:00
vladimir@pobox.com
1d61f44787 b=386895, speed up gfx text rendering (microbenchmark), r=roc 2007-07-17 16:13:48 -07:00
dbaron@dbaron.org
75c96c202a Move the code needed to get language group-specific font enumeration working and remove the rest of nsFontConfigUtils. b=379888 r=vlad 2007-07-17 14:58:45 -07:00
roc+@cs.cmu.edu
df3a6a3d68 Adding comment. 2007-07-16 16:45:16 -07:00
roc+@cs.cmu.edu
236f0ad4d2 Fixing reftest failure, hopefully. r=pavlov 2007-07-16 16:44:41 -07:00