Commit Graph

146 Commits

Author SHA1 Message Date
John Daggett
8c826c0c0b Bug 739706. Fix gfxFont.cpp compiler warning. r=jfkthame 2012-03-30 10:50:14 -07:00
Marco Bonardo
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Cameron McCormack
1c9f23f9bf Bug 740271 - Allocate partial ligature advance rounding error to the last part. r=roc 2012-03-30 13:34:50 +11:00
Ms2ger
b313aff15a No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Bas Schouten
16adc3cf53 Bug 738691 - Part 2: Add proper stroke and path support to Azure glyph drawing. r=jrmuizel 2012-03-29 20:53:44 +02:00
Nathan Froyd
9b00237249 Bug 739635 - fix -Wunused-but-set-variable warnings in gfx/thebes/; r=jrmuizel 2012-03-27 11:55:54 -04:00
Jonathan Kew
cfa00ea9ff bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-27 14:38:39 -07:00
Jonathan Kew
8a54d3120f bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jonathan Kew
9b9ab028c6 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Ryan VanderMeulen
68314a3f20 Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Jonathan Kew
4337005959 bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jonathan Kew
d7d00f5d4d bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-23 12:14:06 +00:00
Jonathan Kew
7322fce6c4 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Jonathan Kew
0d8c9ce9cc bug 717175 - disable the timed expiration of shaped-word caches. r=roc 2012-03-21 09:01:08 +00:00
Bas Schouten
c26eb25c96 Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel 2012-03-19 19:20:18 +00:00
Jonathan Kew
384de9b74a bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Jonathan Kew
f58d29af3c bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett 2012-03-15 09:03:51 +00:00
Jonathan Kew
b3ddef8d75 bug 735439 - optimize order of fields in gfxFontStyle to save space. r=jdaggett 2012-03-15 09:03:00 +00:00
Jonathan Kew
91e9f9f359 bug 726539 - last value wins in the case of conflicting features in -moz-font-feature-settings. r=jdaggett 2012-03-12 16:54:28 +00:00
John Daggett
4c96369b89 Bug 705594. Fixup of intra-family fallback code. r=jfkthame 2012-03-09 11:05:33 +09:00
John Daggett
1a9f033e9b Bug 705594. Implement hard-coded font fallback. r=roc 2012-03-09 11:05:24 +09:00
John Daggett
4514064c4d Bug 705594. Update Unicode range and pref font lists to avoid system fallback. r=roc 2012-03-09 11:05:05 +09:00
Jonathan Kew
0e0a92e8c9 bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Jonathan Kew
d4399166e5 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Jonathan Kew
a5d915dbc1 bug 728518 - improve the handling of weight in FindFontForChar. r=jdaggett 2012-02-20 08:55:07 +00:00
Jonathan Kew
64dd783613 bug 717175 - clear word cache earlier when expiring fonts. r=jdaggett 2012-02-20 08:54:58 +00:00
Jonathan Kew
eb56c38e23 bug 707959 - followup, move font cache telemetry into gfxFontCache::Lookup. r=roc 2012-02-15 10:17:25 +00:00
John Daggett
ad926a3cef Bug 707959. Add word cache and font cache telemetry probes. r=roc 2012-02-15 15:37:48 +09:00
Jonathan Kew
5ff3710968 bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
694443dee1 bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett 2011-08-09 09:00:52 +01:00
Jonathan Kew
cff1bc672a bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett
harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9;
replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx;
adapted for changes to HB function signatures.
2012-02-14 08:03:01 +00:00
Edwin Flores
e20fcb14ba Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Jonathan Kew
faa24b11a2 bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc 2012-01-15 08:45:09 +00:00
Jonathan Kew
c0b92e301e bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Ed Morley
a5e2d37200 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
451eefe74c bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Jonathan Kew
ee5bca4de4 bug 716229 - don't switch fonts for non-printing control chars. r=roc 2012-01-10 20:40:30 +00:00
Jonathan Kew
2c2e690cb8 bug 703100 followup - fix potential crash due to string not being null-terminated. 2012-01-05 14:41:37 +00:00
Jonathan Kew
174cf9e76f bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc 2012-01-05 11:54:45 +00:00
Jonathan Kew
39b0dea87f bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc 2012-01-05 11:54:45 +00:00
Jonathan Kew
d5a2294830 bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
ccc9f44ded bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
8a374cd168 bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
dab5dd6132 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
29a752007d Bug 711063 - Part 3: Adjust font code to be compatible with Azure wrapper. r=joedrew 2012-01-05 08:17:51 +01:00
Nicholas Nethercote
8f335f567c Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00