Commit Graph

362 Commits

Author SHA1 Message Date
Jonathan Kew
68d2010cfd bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-05-31 08:12:40 +01:00
Masatoshi Kimura
e6e3ddadf9 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
John Daggett
acd3c4ca2c Bug 1029307 - remove subscript/superscript metrics. r=heycam 2014-06-28 15:40:36 +09:00
Geoff Brown
99eba27f48 Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame 2014-06-23 08:35:52 -06:00
John Daggett
f62927140f Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
John Daggett
b69e91abce Bug 961558 - add fallback support for font-variant-caps values. r=jfkthame 2014-06-23 12:09:16 +09:00
Jonathan Watt
6586dcffb2 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Jonathan Kew
288baa3a79 bug 871453 - part 2 - support font-synthesis options through the platform-font-list backends. r=jdaggett 2014-06-19 08:08:58 +01:00
Jonathan Kew
e83684913c bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Kew
088699795b 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
John Daggett
f782ee2f5a Bug 1022792 - treat -moz-fixed as monospace. r=heycam 2014-06-10 14:21:41 +09:00
Jonathan Kew
fbe8c6fe21 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
3022454dd2 backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:07 +01:00
Jonathan Kew
f3e4b38e26 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
8259cc74f5 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
Jonathan Kew
38068abbd8 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
82f1d58585 Backed out changeset fd9518344a23 (bug 1018551) for crashes 2014-06-02 10:40:57 +02:00
Jonathan Kew
ed41d90a09 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-06-02 07:51:34 +01:00
Jonathan Kew
85f3fea947 bug 1014639 - part 0 - (preliminary cleanup) split GreekCasing out into its own file to reduce clutter in nsUnicharUtils.cpp. r=smontagu 2014-06-01 23:17:41 +01:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Masatoshi Kimura
41e75a3dbc Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Jonathan Kew
0d94ebb7d2 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
24e9019170 bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett 2014-05-28 11:35:14 +01:00
Jonathan Kew
142a69933c 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
35a3de2e99 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
18ab93cab6 bug 1015603 part 4 - revise internal APIs to pass pointer to text for the current script or font run rather than the entire textrun. r=roc 2014-05-26 14:23:31 +01:00
Jonathan Kew
45a42995d1 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
d38288b73d Bug 889401 - Part 2. Render color glyph using COLR/CPAL. r=jfkthame 2014-05-26 19:07:24 +09:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Eric Rahm
047f25416e Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Jonathan Kew
f84805d4da 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
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Frédéric Wang
937b8095f5 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
b4f3bff93e Bug 1000370 - Call SetupCairoFont at the beginning of gfxFont::GetGlyphHAdvance. r=jfkthame
DONTBUILD
2014-04-23 14:12:31 -07:00
Ryan VanderMeulen
b1acf34460 Backed out 3 changesets (bug 1000170, bug 1000370) for landing with the wrong patch author.
Backed out changeset a3f42079e69c (bug 1000370)
Backed out changeset e4e33370b648 (bug 1000170)
Backed out changeset bca2faf314bf (bug 1000170)
2014-04-23 14:20:54 -07:00
Brian Hackett
fa23812389 Bug 1000370 - Call SetupCairoFont at the beginning of gfxFont::GetGlyphHAdvance. r=jfkthame 2014-04-23 14:12:31 -07:00
Frédéric Wang
dd936cd2e4 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-23 06:57:42 -07:00
Frédéric Wang
e9daefe35d 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
0691160cfe 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
b7d34cd584 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-22 08:44:04 -04:00
Frédéric Wang
bd68106ef1 Bug 407059 - Part 1: Add a gfxMathTable class to read the MATH table. r=jfkthame 2014-04-22 08:44:03 -04:00
John Daggett
22d3b50551 Bug 998210 - check whether logging is enabled before calling PR_LOG. r=mkato 2014-04-18 15:32:21 +09:00
John Daggett
209fcc6aa8 Bug 975460 - disable async font loader on OSX 10.6. r=smichaud,mkato 2014-04-03 13:13:11 +09:00
Jonathan Kew
b0f64ce1f9 bug 617008 - avoid creating a rendering context that we may not need. r=roc 2014-03-31 11:53:09 +01:00
John Daggett
3c922f78cb 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
ae9d0e0517 Bug 921858 - check for spaces in textrun before skipping word cache. r=jfkthame 2014-03-20 14:43:30 +08:00
John Daggett
ca423ba456 Bug 921858 - distinguish space features in default features from those in non-default features. r=jfkthame 2014-03-20 14:43:30 +08:00
Jonathan Kew
0eac36cf9f bug 970891 - don't assume the primary font will always support the <space> character - fall back down the font stack if necessary. r=roc 2014-02-11 15:28:21 +00:00