Jonathan Kew
323af42ff6
Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc
2015-02-02 09:19:28 +00:00
Nicholas Nethercote
b31f8f25e5
Bug 1124545 - Avoid creating the mergedFeatures hash table when possible. r=jdaggett.
...
When scrolling all the way through
https://bugzilla.mozilla.org/show_bug.cgi?id=MNG , |mergedFeatures| gets
initialized more than 50,000 times -- each one involving a heap allocation for
the entry storage -- but it never has anything put into it.
This patch refactors MergeFontFeatures to move |mergedFeatures| inside it. It
now doesn't get created in the common case.
--HG--
extra : rebase_source : 5a8d44b30f90169b70e5f50a5e38bbe57f02b12b
2015-01-21 22:41:02 -08:00
Trevor Saunders
85227ffecb
bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel
2015-01-19 17:41:12 -05:00
Robert O'Callahan
0c9928a13e
Bug 1099977. Part 2: Make gfxFont::Measure return an empty bounding-box when all glyphs are invisible. r=jfkthame
...
--HG--
extra : rebase_source : 41a9f586ef2992d96b789d6bd55daae18f15ed2f
2014-11-18 23:23:45 +13:00
Jonathan Kew
e056d920d0
Bug 1062108 - Don't increase glyph advances when applying fake-bold to a fixed-pitch font. r=jdaggett
2015-01-08 12:51:00 +00:00
Jonathan Kew
4fa5c65360
Bug 1116480 - gfxTextRun::Measure needs to account for fake-italic transform when returning the bounding box. r=roc
2014-12-31 22:35:40 +00:00
Jonathan Kew
a896eab424
Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron
2014-12-23 12:50:10 +00:00
Jonathan Kew
02d6b51ec6
Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett
2014-11-13 08:58:04 +00:00
Jonathan Watt
d6d15a2f78
Bug 1093811 - Convert the gfxFont::GetGlyphWidth() virtual method to take a Moz2D DrawTarget instead of a Thebes gfxContext. r=jfkthame
2014-11-10 21:41:41 +00:00
John Daggett
6f795700cb
Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame
2014-11-06 13:42:50 +09:00
Markus Stange
defd3c048d
Bug 1055634 - Propagate font smoothing background colors to layers. r=roc
2014-10-24 18:32:23 +02:00
Jonathan Kew
0e773b6fc0
Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu
2014-10-16 09:40:19 +01:00
Carsten "Tomcat" Book
a20685ff2b
Backed out changeset 1abddb50ed34 (bug 1081867) for bustage on a CLOSED TREE
2014-10-16 11:42:11 +02:00
Jonathan Kew
1428512193
Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu
2014-10-16 09:40:19 +01:00
Jonathan Kew
7e8dfb9a44
Bug 902762 pt 2 - Support for vertical textruns and fonts through gfxTextRun::Draw. r=jdaggett
2014-10-01 20:25:48 +01:00
Jonathan Kew
b2c88c5dfe
Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett
2014-10-01 20:25:48 +01:00
Jonathan Kew
c5e1a54d59
Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett
2014-09-30 07:38:26 +01:00
Jonathan Kew
af4fdc577c
Bug 1065002 pt 1.2 - Add CreateVerticalMetrics to gfxFont, to read/synthesize metrics for vertical layout. r=jdaggett
2014-09-30 07:38:06 +01:00
Jonathan Kew
55f3a61af3
Bug 1065002 pt 1.1 - Rename gfxFont::GetMetrics to GetHorizontalMetrics, and add a GetMetrics wrapper to access it. r=jdaggett
2014-09-30 07:37:40 +01:00
Jonathan Kew
5cadcfeab8
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
50b0ff2a5d
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
123c797bde
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
53967d717d
Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam
2014-09-08 16:23:20 +09:00
Ehsan Akhgari
252de863a5
Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel
2014-08-05 17:58:40 -04:00
Andrew McCreight
228d194059
Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn
2014-08-05 13:27:41 -07:00
Jonathan Kew
48f8e6a65e
bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu
2014-07-29 11:58:15 +01:00
Carsten "Tomcat" Book
e5d79023a1
Backed out changeset c8d0a8cf50a1 (bug 1044706) for Reftest Failures
2014-07-29 13:41:42 +02:00
Jonathan Kew
1f41596c73
bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu
2014-07-29 11:58:15 +01:00
Jonathan Kew
3a3ee6ed8a
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
d47b2363cc
bug 1037340 pt 1 - refactor gfxFont::Draw for better maintainability. r=jdaggett
2014-07-25 09:38:44 +01:00
Jonathan Kew
bce82c2cd4
Bug 1024804 followup - replace gfxFont::CalculateSubSuperSizeAndOffset with gfxFontStyle::AdjustForSubSuperscript. r=jdaggett
2014-07-11 22:37:27 +01:00
John Daggett
94caf2851e
Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame
2014-07-22 09:02:48 +09:00
John Daggett
14c6cc4cc3
Bug 1024804 p1 - implement fallback for font-variant-position sub/superscript glyphs. r=jfkthame
2014-07-22 09:02:45 +09:00
Cameron McCormack
21933d916f
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
1bf2972cd9
Backed out changeset 091a5ced91cd (bug 1031187)
2014-07-09 13:44:14 +02:00
Cameron McCormack
c700698740
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
c6ad2091d7
bug 1035323 - remove redundant null-checks in the DetailedGlyphStore code. r=jdaggett
2014-07-08 14:56:41 +01:00
Frédéric Wang
9e0eb3a436
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
68d2010cfd
bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett
2014-05-31 08:12:40 +01:00
John Daggett
acd3c4ca2c
Bug 1029307 - remove subscript/superscript metrics. r=heycam
2014-06-28 15:40:36 +09:00
Benoit Jacob
360bdb42d9
Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel
2014-06-23 14:49:07 -04: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 Kew
e83684913c
bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett
2014-06-19 08:08:55 +01: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
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
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
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12: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