Commit Graph

457 Commits

Author SHA1 Message Date
reed@reedloden.com
30f5471b69 Bug 385516 - "Console is spewed with WARNING: empty langgroup" (Add default constructor to gfxFontStyle and use it) [p=wasti.redl@gmx.net (Sebastian Redl) r=stuart a1.9=damons] 2008-03-12 03:52:58 -07:00
jruderman@hmc.edu
1ec364a8a5 Add crashtests 2008-03-11 17:42:51 -07:00
blassey@mozilla.com
3c99833e3e backing out: switching narrow char system calls to wide char in windows b=418703 2008-03-11 15:46:26 -07:00
blassey@mozilla.com
eeea24bde6 switching narrow char system calls to wide char in windows b=418703 r=bsmedberg r=dougt also looked at by stuart and roc a=beltzner and a=damon 2008-03-11 14:49:53 -07:00
karlt+@karlt.net
3f2978a173 Bug 421955. combining mark at start of text run rendered as NUL hex box or garbage. r=roc, a1.9=damons 2008-03-11 00:04:31 -07:00
roc+@cs.cmu.edu
11aa232422 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
104f6a38a1 b=415854, make single-pixel optimized images release memory; patch from joe@drew.ca; r+sr=vlad 2008-03-05 22:51:13 -08:00
jdaggett@mozilla.com
1212e6b6c2 Bug 421135. Fix typo in setting of mLastPrefFirstFont. r+sr=vlad 2008-03-05 17:47:33 -08:00
blassey@mozilla.com
92c51991b0 backing out b=418703, caused test 40118 to fail on WINNT 5.2 qm-win2k3-01 dep unit test tinderbox 2008-03-05 14:56:43 -08:00
blassey@mozilla.com
9bc9e44b40 switching windows narrow char system calls to wide char b=418703 r=bsmedberg a=beltzner 2008-03-05 13:39:29 -08:00
jdaggett@mozilla.com
fe4a934348 Bug 420822. Missing 500 weight font should fallback to lighter weights. r+sr=stuart 2008-03-04 02:24:32 -08:00
roc+@cs.cmu.edu
4815c48c47 Backing out 403181 again 2008-03-04 01:36:07 -08:00
roc+@cs.cmu.edu
d8ef70bf14 Bug 403181. Track which subimage of an image we want to draw and copy it to a temporary surface if necessary to prevent sampling of pixels outside the subimage when zooming. Also, enable EXTEND_PAD or SetFilter(0) if the context has a transformation that's not a simple translation, since that might induce cairo to sample pixels outside the source (sub)image. r=vlad,sr=dbaron 2008-03-04 00:21:34 -08:00
roc+@cs.cmu.edu
b9eca15a36 Bug 419095 crashtest 2008-03-03 18:42:11 -08:00
roc+@cs.cmu.edu
d7fe999fe7 Crashtest for bug 416637 2008-03-03 18:37:35 -08:00
jdaggett@mozilla.com
b6cc0312c3 Bug 419757. Cache codepoints for which no font matches on windows. r+sr=stuart 2008-03-03 18:34:05 -08:00
roc+@cs.cmu.edu
caf967a145 Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad 2008-03-03 18:30:20 -08:00
joshmoz@gmail.com
9d15dd6a9e always link against cocoa framework on Mac OS X, cocoa exception wrapping in xpcom file io. b=419392 r=bent sr=roc a=beltzner 2008-02-29 15:24:53 -08:00
jdaggett@mozilla.com
ea95d72bfc Bug 419370. Allow single face font families, specified in a pref setting. r+sr=stuart 2008-02-26 00:00:44 -08:00
roc+@cs.cmu.edu
4db6cb1c6f Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad 2008-02-24 17:24:41 -08:00
roc+@cs.cmu.edu
29613b66c2 Bug 418754. Fix Mac clustering... we shouldn't set a glyph using SetSimpleGlyph if it's not the start of a cluster. Also fixes an indexing error in ligature detection. r=jdaggett,a=beltzner 2008-02-21 17:12:41 -08:00
jdaggett@mozilla.com
8d2e67363f Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. Now with no-leak technology. r+sr=roc 2008-02-20 18:46:01 -08:00
jdaggett@mozilla.com
bfbdef4961 Bug 417444. Backing out due to leakage. 2008-02-20 16:35:26 -08:00
jdaggett@mozilla.com
797e6e922b Bug 417444. Load in other font family names lazily to avoid doing expensive name table reads at startup. r+sr=roc 2008-02-20 15:57:32 -08:00
reed@reedloden.com
89eddcaa54 Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+] 2008-02-20 03:33:27 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
jag@tty.nl
3093080fba Bug 418026: Unconditionally include prio.h and prbit.h in gfxColor.h. sr=dbaron, a=schrep 2008-02-18 23:07:01 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
karlt+@karlt.net
e3e3452e9e back out gfxFontGroup::MakeTextRun with individual words. b=416725, due to performance regression on Windows. 2008-02-17 15:29:03 -08:00
karlt+@karlt.net
f8916a47a8 gfxFontGroup::MakeTextRun with individual words. b=416725, r=roc 2008-02-17 13:43:23 -08:00
mats.palmgren@bredband.net
e379c46906 Some broken fonts specify a negative subscript offset, use the absolute value for compat reasons. b=410917 r=vladimir sr=pavlov a=beltzner 2008-02-16 18:44:12 -08:00
masayuki@d-toybox.com
cf482503c8 Bug 402524 Need to correct the Metrics for fonts in XP level r=pavlov, b1.9=vlad 2008-02-15 13:31:38 -08:00
jdaggett@mozilla.com
85960af63d Bug 416062. Test all faces for a given codepoint, not just the first one. r+sr=roc 2008-02-14 21:12:32 -08:00
pavlov@pavlov.net
cafb5b44d0 bug 407462. CJK perf issue due to Uniscribe. Fast path around it when we know we can. r=roc 2008-02-14 20:50:15 -08:00
karlt+@karlt.net
d99caac0e0 don't pango_font_get_metrics with a NULL language. b=414692 r=pavlov 2008-02-13 01:09:46 -08:00
masayuki@d-toybox.com
3aa6bddc90 Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font r=karlt, b1.9=mtschrep 2008-02-12 02:39:23 -08:00
jdaggett@mozilla.com
edb01cb657 Bug 416232. Add better error checking when reading in font name table. r+sr=roc 2008-02-12 01:31:36 -08:00
jdaggett@mozilla.com
94f07ba724 Bug 361986. Exclude complex script codepoints for fonts that lack AAT morphing data. r=vlad,smontagu, sr=pavlov 2008-02-11 23:23:44 -08:00
karlt+@karlt.net
45477e7a1d Bug 413050 - call cairo_debug_reset_static_data in system cairo on shutdown r=pavlov 2008-02-11 22:47:40 -08:00
karlt+@karlt.net
279c4c2019 Bug 414649 - wrong ui font (serif vs sans). Remove FindGenericFontFromStyle. r=pavlov 2008-02-11 22:43:26 -08:00
jdaggett@mozilla.com
d47e718e08 Bug 396732. Cache codepoints with no fonts to avoid repeated system-wide font lookup. r+sr=vlad 2008-02-11 21:38:38 -08:00
jdaggett@mozilla.com
b94523359e Bug 409342. Cache the last pref font looked up. r=vlad,pavlov, sr=pavlov 2008-02-11 20:57:57 -08:00
jruderman@hmc.edu
3583eb2d0c Bug 408746 is marked as fixed, so let's re-enable this crashtest. 2008-02-10 04:46:27 -08:00
masayuki@d-toybox.com
4373f8a32e Bug 415595 Use nsIPrefLocalizedString for intl.accept_languages in gfxWindowsFonts.cpp r=pavlov, b1.9=mtschrep 2008-02-09 10:47:15 -08:00
karlt+@karlt.net
6d0319463a use FC_PIXEL_SIZE instead of pango_font_describe_with_absolute_size b=414239 r+sr=roc 2008-02-07 14:17:50 -08:00
jag@tty.nl
eadd3f29f3 Bug 414971: Mingw build error: `PR_ROTATE_RIGHT32' was not declared in this scope. r=wtc, sr=pavlov, a=mtschrep When using macros from prbit.h, don't expect others to include it for you. 2008-02-07 00:15:50 -08:00
reed@reedloden.com
82e400b523 Bug 406376 - "Firefox generating PostScript Level 3 code, instead of Level 2 one (was: Printing graphics prints a solid black box)" (Use Level 2) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+] 2008-02-06 21:26:50 -08:00
vladimir@pobox.com
95e9d58680 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
jruderman@hmc.edu
da8964262a Add crashtest 2008-02-03 21:56:57 -08:00
jdaggett@mozilla.com
86a59bcce4 Bug 409342. Handle pref lang array correctly. r+sr=pavlov 2008-01-31 00:41:09 -08:00
jdaggett@mozilla.com
46731d8754 Bug 409342. Cache pref font lists per lang group during font matching. r+sr=pavlov 2008-01-30 16:23:36 -08:00
jag@tty.nl
7bbff4292c Bug 413143: trunk is broken(sigbus) on SPARC since 20071221. r/sr=pavlov, a=beltzner Unaligned 32-bit memory reads cause a sigbus on SPARC. Turns out that fixing this also gets us a little performance boost on other platforms because we're now mostly doing aligned 32-bit reads. 2008-01-29 22:22:23 -08:00
mozilla@weilbacher.org
e48dd1a8be [OS/2] Bug 394412: on the way to be able to print through cairo 2008-01-29 16:16:19 -08:00
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