Eric Rahm
67b91ff53a
Bug 1162748 - Remove instances of #ifdef PR_LOGGING in graphics. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-08 14:37:01 -07:00
Jonathan Kew
cdd4e7ba24
Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu
2015-04-27 09:45:55 +01:00
L. David Baron
026c5518c7
Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
...
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Jonathan Kew
1bc5b96538
Bug 1148903
- Allow control characters to be rendered by user fonts. r=roc
2015-04-01 09:02:24 +01:00
Jonathan Kew
d8d7cd6058
Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu
2015-03-12 10:47:32 +00:00
Jonathan Kew
59e90c7cf1
Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett
2015-03-11 08:49:24 +00:00
Jonathan Watt
6c3e865ef2
Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam
2015-02-17 22:01:54 +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
Jonathan Kew
c64244245f
Bug 1121448 - Ignore negative values in the OS/2 table sxHeight field. r=jdaggett
2015-01-19 10:03:54 +00:00
Jonathan Kew
e7cc95bb47
Bug 1122020 - Account for position offset when collecting glyph bounding boxes. r=roc
2015-01-16 09:42:42 +00: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
674676fba3
Bug 1118943 - Ensure mFUnitsConvFactor is set up properly for vertical fonts in the FT2 backend. r=smontagu
2015-01-07 23:42:40 +00:00
Jonathan Kew
16def44035
Bug 1120102 - Use absolute value of vhea descender field, because fonts differ in the sign of the coordinate system they assume. r=smontagu
2015-01-12 14:24:05 +00: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
82898bfa4d
Bug 1095334 - Adjust ascent/descent to provide centered vertical baseline when reading 'vhea' table. r=smontagu
2015-01-06 20:56:02 +00:00
Jonathan Kew
ff9f031360
Bug 1115916 - Improve synthetic vertical metrics for fonts that don't have actual vhea/vmtx tables. r=smontagu
2015-01-06 20:56:02 +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
3478d8e504
Bug 1108616 - part 3 - Only do language-specific shaping when the language was explicitly tagged. r=jdaggett
2014-12-23 12:50:10 +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
644149da01
Bug 1102406 - Ensure conversion factor for font units is set up before trying to read vertical metrics. r=jdaggett
2014-11-27 09:31:15 +00:00
Jonathan Kew
34fea182cd
Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu
2014-11-13 08:58:06 +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
Jonathan Watt
c29761b789
Bug 1093813 - Remove the gfxContext argument from gfxHarfBuzzShaper's GetGlyphHAdvance, GetGlyphVAdvance and GetGlyphVOrigin methods. 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
Jonathan Kew
f4f29192d3
Bug 1090869
- Don't collect output glyphs when checking for features involving <space>. r=jdaggett
2014-10-30 09:54:22 +00:00
Jonathan Watt
579842c323
Bug 1089177, part 2 - Port gfxFontMissingGlyphs to Moz2D. r=mattwoodrow
2014-10-28 14:40:42 +00: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
6fea005a92
Bug 1082083 - Apply division to the y-coordinate only, not to the point as a whole. r=jdaggett
2014-10-14 20:56:08 +01:00
Eric Rahm
8d715a7fe4
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Jonathan Kew
c765f6c3f8
Bug 1074735 pt 1 - Use more sensible values for underline and strikeout position in vertical font metrics. r=smontagu
2014-10-08 10:32:53 +01:00
Carsten "Tomcat" Book
0c5e86e0fc
Backed out changeset 1632a36342d4 (bug 1074735)
2014-10-08 13:06:56 +02:00
Jonathan Kew
5194872bdc
Bug 1074735 pt 1 - Use more sensible values for underline and strikeout position in vertical font metrics. r=smontagu
2014-10-08 10:32:53 +01:00
Wes Kocher
445e1466e9
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
80d2b8bba6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
...
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Jonathan Kew
934e56f8da
Bug 902762 pt 4 - Support for orientation:sideways-right when drawing vertical textruns. r=jdaggett
2014-10-01 20:25:49 +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
Jacek Caban
0bba571624
Bug 1057331
- mingw fixup (const char16_t*/char16ptr_t mismatch).
2014-10-01 10:58:57 +02: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 Watt
a6a8b844ba
Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas
2014-09-29 14:15:19 +01:00
Georg Fritzsche
83f0c5bfb7
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02: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
Jonathan Watt
2a0767dbda
Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
93e59c8bd5
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +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