Commit Graph

73 Commits

Author SHA1 Message Date
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
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
karlt+@karlt.net
279c4c2019 Bug 414649 - wrong ui font (serif vs sans). Remove FindGenericFontFromStyle. r=pavlov 2008-02-11 22:43:26 -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
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
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
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
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
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
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
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
roc+@cs.cmu.edu
e742209dee Fixing bustage 2007-11-15 17:51:59 -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
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
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
karlt+@karlt.net
15267eb778 Bug 397288: use CreateGlyphRunsItemizing when CreateGlyphRunsFast fails. r+a=pavlov 2007-10-11 18:05:16 -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
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
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
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
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
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
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
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
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
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
roc+@cs.cmu.edu
9906cb5415 Bug 387703. Make all-8bit Unicode text take the Xft fast path if that's enabled, to ensure it's displayed consistently. r=pavlov 2007-07-16 15:49:10 -07:00
smontagu@smontagu.org
70ab11577d Process glyphs in right-to-left clusters in reverse order. Bug 387653, r=vlad 2007-07-15 23:18:08 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu
33428c5bf6 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu 2007-07-03 20:39:01 -07:00
mats.palmgren@bredband.net
5b1d81411b Don't return values outside the range for PangoWeight (100..900). b=335543 r+sr=vladimir 2007-06-18 20:08:29 -07:00
mats.palmgren@bredband.net
806f43fe69 Clamp final font size (after font-size-adjust) to a reasonable value. b=383473 r+sr=vladimir 2007-06-08 01:22:03 -07:00