John Daggett
6ad68a5fc7
Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw
2014-06-06 15:09:23 +09:00
Robert O'Callahan
9170085906
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Jonathan Kew
0323439c65
bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett on a CLOSED TREE
2014-05-31 08:12:40 +01:00
Carsten "Tomcat" Book
a665444415
Backed out changeset fd9518344a23 (bug 1018551) for crashes
2014-06-02 10:40:57 +02:00
Jonathan Kew
ed70d32dd5
bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett
2014-06-02 07:51:34 +01:00
Jonathan Kew
4216251038
bug 985220: remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett
2014-03-19 12:27:44 +00:00
Jonathan Kew
4355cc9848
bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett
2014-05-28 11:35:14 +01:00
Jonathan Kew
65d2b0d641
bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett
2014-05-28 11:35:12 +01:00
Jonathan Kew
66ff5526a4
bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
9563f4746c
bug 1015603 part 3 - add a smallCaps field to gfxFontStyle, and pass it through from layout when creating gfxFontStyle records. r=roc
2014-05-26 14:23:31 +01:00
Makoto Kato
06310d46e2
Bug 889401 - Part 2. Render color glyph using COLR/CPAL. r=jfkthame
2014-05-26 19:07:24 +09:00
Jonathan Kew
c9f0cdc5a3
bug 1007524 - remove unused gfxFontGroup::Equals method. r=jdaggett
2014-05-13 18:08:26 +01:00
Jonathan Kew
c1bc1993a3
bug 992100 - mask out complex-script codepoints in fonts that lack the necessary layout tables. r=roc
2014-05-05 19:59:55 +01:00
Frédéric Wang
ea6ea637d8
Bug 947650 - [sfnt metrics] prefer OS/2 sTypo* metrics to hhea ascent/descent if USE_TYPO_METRICS flag is set, and for OpenType Math fonts. r=jfkthame
2014-04-24 03:16:00 +02:00
Frédéric Wang
a8464ba408
Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame
2014-04-23 06:57:42 -07:00
Frédéric Wang
d33eebd920
Bug 407059 - Part 1: Add a gfxMathTable class to read the MATH table. r=jfkthame
2014-04-23 06:57:42 -07:00
Ryan VanderMeulen
e50ce58691
Backed out 5 changesets (bug 407059) for reftest asserts.
...
Backed out changeset 21fee1261f2e (bug 407059)
Backed out changeset c940a2d399c4 (bug 407059)
Backed out changeset 77593dd1b044 (bug 407059)
Backed out changeset cfcbc731d4db (bug 407059)
Backed out changeset d8244f3ecdcb (bug 407059)
2014-04-22 11:00:13 -04:00
Frédéric Wang
d577ebba69
Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame
2014-04-22 08:44:04 -04:00
Frédéric Wang
bbebde14e8
Bug 407059 - Part 1: Add a gfxMathTable class to read the MATH table. r=jfkthame
2014-04-22 08:44:03 -04:00
Daniel Holbert
652ce79f6e
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Jonathan Kew
b1589b8ab2
bug 617008 - avoid creating a rendering context that we may not need. r=roc
2014-03-31 11:53:09 +01:00
John Daggett
5e38053edc
Bug 921858 - whitelist font families to avoid space lookup check for default features. r=jfkthame
2014-03-20 14:43:31 +08:00
John Daggett
c4399bcfd7
Bug 921858 - check for spaces in textrun before skipping word cache. r=jfkthame
2014-03-20 14:43:30 +08:00
John Daggett
9209c56b9d
Bug 921858 - distinguish space features in default features from those in non-default features. r=jfkthame
2014-03-20 14:43:30 +08:00
L. David Baron
6309185008
Bug 978603: Make sure implicit copy constructors and assignment operators aren't invoked for gfxGlyphExtents (which would at least mess up leak statistics if not actually leak). r=jfkthame
...
Originally written while investigating bug 435138.
2014-03-03 00:54:39 -08:00
Robert O'Callahan
51238f35b6
Bug 947588. Part 2: Add gfxTextRunFactory::TEXT_HIDE_CONTROL_CHARACTERS to guard usage of IsInvalidControlChar. r=jfkthame
...
--HG--
extra : rebase_source : 2ce426ebf3ad1643038954bcb18553dec27153c9
2014-02-05 23:08:58 +13:00
James Kitchener
4c8c250776
Bug 953385 - Set math script where applicable in /gfx. r=jfkthame
2014-01-30 10:59:16 -05:00
John Daggett
c9e2d7ffe4
Bug 962440 - async font info loader infrastructure with OSX implementation. r=bas
2014-01-29 16:39:01 +09:00
John Daggett
c4bc34d1c5
Bug 962440 - refactor methods used for loading fontinfo data. r=bas
2014-01-29 16:39:00 +09:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jonathan Kew
89efbb065c
bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc
2013-12-19 20:21:11 +00:00
Jonathan Kew
80258a1f9d
bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc
2013-12-19 20:20:57 +00:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
803d8a5bcc
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ehsan Akhgari
44f80d0787
Bug 945509 - Include 2D.h in gfxFont.h because it uses ScaledFont; r=glandium
2013-12-02 18:53:14 -05:00
John Daggett
d1eb2f6076
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Jonathan Kew
99f58ee59f
bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc
2013-11-21 21:31:53 +00:00
Nicholas Nethercote
d8a3b0f0bb
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
440791afd0
Bug 921923 (part 4) - Make multi-output sizeOfFoo() functions more consistent in gfx/thebes/. r=jkew.
...
--HG--
extra : rebase_source : 02ddce0e34ec6619fcaf92aa30addc77bdd8b80f
2013-10-14 19:19:47 -07:00
Ehsan Akhgari
b6bef348c1
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ehsan Akhgari
7e5b2154cf
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Jonathan Kew
ed174bb5d0
bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc
2013-05-22 23:48:55 +08:00
Jonathan Kew
e027bc35bf
bug 916048 - SVG-in-OpenType glyphs should use the font's unitsPerEm value. r=roc
2013-09-14 12:40:57 +01:00
Edwin Flores
3b628f2098
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
eda259c9c3
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04:00
Robert O'Callahan
460e6ce169
Bug 906643. Part 7: Hook up animation support for gfxSVGGlyphs. r=jfkthame
...
There's a few things mashed together in this patch:
-- Enable animations in glyph documents
-- Make gfxSVGGlyphsDocument monitor the document's refresh driver to detect
updates
-- Forward updates to the gfxFontEntry
2013-08-20 01:08:45 +12:00
Robert O'Callahan
4835657f13
Bug 906643. Part 6: Add gfxFontEntry::NotifyGlyphsChanged, which calls new gfxFont::NotifyGlyphsChanged, which calls new gfxGlyphExtents::NotifyGlyphsChanged; these methods flush out existing glyph extents and notify all affected gfxUserFontGroups of the glyph changes. r=jfkthame
2013-08-20 01:08:45 +12:00
Robert O'Callahan
59824dd0cf
Bug 906643. Part 5.2: Add gfxFont::GlyphChangeObserver. r=jfkthame
2013-09-02 16:30:10 +12:00
Robert O'Callahan
967306e246
Bug 906643. Part 4: Make each gfxFontEntry track its gfxFonts with SVG glyphs. r=jfkthame
...
--HG--
extra : rebase_source : cd2cbdc8f6722e71f523c3fbe19e515a0e44f043
2013-08-20 01:08:44 +12:00
Edwin Flores
4e93f109ae
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00