Commit Graph

266 Commits

Author SHA1 Message Date
Jonathan Kew
8a86870edc bug 1057331 - add orientation flags to gfxShapedText/gfxTextRun and to glyph runs within the text run, and split glyph runs on orientation changes. r=jdaggett 2014-09-16 12:25:45 +01:00
Jonathan Kew
08babb6a11 bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
John Daggett
b59e49acf6 Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
4152f3896a Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam 2014-09-08 16:23:20 +09:00
Ehsan Akhgari
de9c38a70c Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Jonathan Kew
a11954ec76 bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu 2014-07-29 11:58:15 +01:00
Carsten "Tomcat" Book
6e79f9134f Backed out changeset c8d0a8cf50a1 (bug 1044706) for Reftest Failures 2014-07-29 13:41:42 +02:00
Jonathan Kew
5ae6b4463b bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu 2014-07-29 11:58:15 +01:00
Jonathan Kew
9197e51f6b bug 1037340 pt 2 - hoist the setup of some unvarying parameters from gfxFont::Draw up to gfxTextRun::Draw. r=jdaggett 2014-07-25 09:38:55 +01:00
Jonathan Kew
59503ff766 bug 1037340 pt 1 - refactor gfxFont::Draw for better maintainability. r=jdaggett 2014-07-25 09:38:44 +01:00
Jonathan Kew
365bdad4b4 Bug 1024804 followup - replace gfxFont::CalculateSubSuperSizeAndOffset with gfxFontStyle::AdjustForSubSuperscript. r=jdaggett 2014-07-11 22:37:27 +01:00
John Daggett
a982b2ef3a Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame 2014-07-22 09:02:48 +09:00
John Daggett
e65545b3f2 Bug 1024804 p1 - implement fallback for font-variant-position sub/superscript glyphs. r=jfkthame 2014-07-22 09:02:45 +09:00
Cameron McCormack
210c8d808e Bug 1031187 - Part 1: Set mFamilyName eagerly on proxy and non-proxy gfxFontEntrys. r=jdaggett 2014-07-09 17:08:54 +10:00
Carsten "Tomcat" Book
467782b7d8 Backed out changeset 091a5ced91cd (bug 1031187) 2014-07-09 13:44:14 +02:00
Cameron McCormack
96484bfcf1 Bug 1031187 - Part 1: Set mFamilyName eagerly on proxy and non-proxy gfxFontEntrys. r=jdaggett 2014-07-09 21:04:10 +10:00
Jonathan Kew
9487a7b9ae bug 1035323 - remove redundant null-checks in the DetailedGlyphStore code. r=jdaggett 2014-07-08 14:56:41 +01:00
Frédéric Wang
76e083af64 Bug 961365 - Part 1: Add helper functions to access MATH constants and use them to get the AxisHeight. r=jfkthame 2014-07-01 23:29:00 -04:00
Jonathan Kew
a66c917c69 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-05-31 08:12:40 +01:00
John Daggett
9beb5203b2 Bug 1029307 - remove subscript/superscript metrics. r=heycam 2014-06-28 15:40:36 +09:00
Benoit Jacob
adffc9db7b Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
John Daggett
bec96141f3 Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
John Daggett
5a49215c66 Bug 961558 - add fallback support for font-variant-caps values. r=jfkthame 2014-06-23 12:09:16 +09:00
Jonathan Kew
176feefe44 bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Jonathan Kew
e0a5ad60f4 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-06-09 15:47:31 +01:00
Jonathan Kew
009531d2bf backout changeset 59b2dd6b5048 (bug 985220) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:09 +01:00
Jonathan Kew
e596612b87 backout changeset 3e9d9aa535c7 (bug 1018551) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:04 +01:00
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