Commit Graph

128 Commits

Author SHA1 Message Date
Jonathan Kew
2eb299f4f7 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
e867c63a6a Bug 705594. Fixup of intra-family fallback code. r=jfkthame 2012-03-09 11:05:33 +09:00
John Daggett
de22ddef08 Bug 705594. Implement hard-coded font fallback. r=roc 2012-03-09 11:05:24 +09:00
John Daggett
2ab81f1b8f 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
5b0e4bbb7b 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
a71e5391a3 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
c3b1694b4b bug 728518 - improve the handling of weight in FindFontForChar. r=jdaggett 2012-02-20 08:55:07 +00:00
Jonathan Kew
deab9d480e bug 717175 - clear word cache earlier when expiring fonts. r=jdaggett 2012-02-20 08:54:58 +00:00
Jonathan Kew
143e5862ee bug 707959 - followup, move font cache telemetry into gfxFontCache::Lookup. r=roc 2012-02-15 10:17:25 +00:00
John Daggett
62f0357445 Bug 707959. Add word cache and font cache telemetry probes. r=roc 2012-02-15 15:37:48 +09:00
Jonathan Kew
777cd62f11 bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett 2011-08-09 09:06:01 +01:00
Jonathan Kew
636a871edd 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
6f8dbeb979 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
bc6a31b0b1 Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
3f5de025f0 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
ce4e5f11cc 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
861f13c646 bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Ed Morley
2d367bdbd8 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
16e9fbe2df bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Jonathan Kew
0299bb22c5 bug 716229 - don't switch fonts for non-printing control chars. r=roc 2012-01-10 20:40:30 +00:00
Jonathan Kew
ef5972b56b bug 703100 followup - fix potential crash due to string not being null-terminated. 2012-01-05 14:41:37 +00:00
Jonathan Kew
6e85485e5c 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
7ccaa62585 bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc 2012-01-05 11:54:45 +00:00
Jonathan Kew
1bf3af6cfe bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
bf44ffadea 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
569f6de227 bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
f702c54c74 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
2c3f9cecef 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
2fa63e0548 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
5d8466250b Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Bas Schouten
1491f130ef Bug 702851: Move mScaledFont into gfxFont superclass. r=jdaggett 2011-12-15 17:12:40 +01:00
Jonathan Kew
db8015990f bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
John Daggett
fe75ceb337 Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc 2011-12-07 12:02:53 +09:00
Nicholas Nethercote
f1e77095c2 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jonathan Kew
36c1dc9fbe bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonathan Kew
1f9c88fc75 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley
69df3bc60b Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Jonathan Kew
66391fedb7 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Jonathan Kew
283225c307 bug 686190 - ensure glyph buffer is flushed when necessary during synthetic bolding. r=jdaggett 2011-09-12 13:10:46 +01:00
Jonathan Kew
52da6a7240 bug 3512 - fix computation of StyleDistance to account for font-stretch more accurately. r=jdaggett 2011-09-05 08:34:12 +01:00
Jonathan Kew
b3bc1a2f7c bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett 2011-09-02 21:18:25 +01:00
Jonathan Kew
04e54a46d6 bug 680402 - avoid calling SanitizeGlyphRuns repeatedly during textrun construction with multiple scripts. r=jdaggett 2011-08-29 09:21:53 +01:00
Jonathan Kew
6ac2cac59a bug 678181 - backout changeset c433a1d53dd5 (bug 668813 pt 1) on suspicion of causing crashiness. r=backout 2011-08-15 18:32:19 +01:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Jonathan Kew
ef8cece286 bug 678181 - back out second part of bug 668813 (changeset 431a8297db1f) on suspicion of causing crashiness. r=backout 2011-08-13 13:34:56 +01:00
Rafael Ávila de Espíndola
92df261412 Bug 677648 - Change the type of the 'advance' variable in gfxTextRun::AdjustAdvancesForSyntheticBold, to allow using it to initialize the mAdvance field of DetailedGlyph using clang in c++0x mode; r=roc 2011-08-11 15:40:59 +02:00