Cameron McCormack
103bb77e68
Bug 1028497 - Part 25: Support loading of fonts from ArrayBuffer{,View}s. r=bzbarsky,jdaggett
2014-10-02 12:32:09 +10:00
Cameron McCormack
d045185df5
Bug 1028497 - Part 14: Rename some methods to talk about UserFontEntry instead of FontFace. r=jdaggett
...
How that we have a class named "FontFace", it's a bit confusing for some
of the gfxUserFontSet methods to have "FontFace" in their names, so I'm
renaming them to mention "UserFontEntry" instead.
2014-10-02 12:32:07 +10:00
Cameron McCormack
f5bcec5617
Bug 1028497 - Part 9: Implement FontFace.status. r=jdaggett
...
We make gfxUserFontEntry::SetLoadState virtual so that we can hook into
changes and update FontFace::mStatus. We can't just reflect the
gfxUserFontEntry's value in FontFace::Status() since the spec has
requirements about when exactly the status is set.
2014-10-02 12:32:06 +10:00
Cameron McCormack
4649da6d47
Bug 1028497 - Part 6: Have a FontFace::Entry class extending gfxUserFontEntry that can inform the FontFaceSet about loading. r=jdaggett
...
We can't make FontFace inherit from gfxUserFontEntry, since the former
is cycle collected. So instead, we have a small class that inherits
from it that will override its virtual methods and forward things on to
the FontFace object.
We make gfxUserFontSet::CreateFontFace virtual so we can override it to
produce instances of our gfxUserFontEntry subclass.
2014-10-02 12:32:06 +10:00
Cameron McCormack
f5f01b6fc2
Bug 1028497 - Part 4: Move the nsUserFontSet object into FontFaceSet. r=jdaggett
...
This (a) moves ownership of the gfxUserFontSet into FontFaceSet, (b) moves
nearly all of the functionality of nsUserFontSet into FontFaceSet, and (c)
adds a class that inherits from gfxUserFontSet so that we can override some
of its virtual functions and delegate them to the FontFaceSet.
2014-10-02 12:32:05 +10: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
e46d88166d
Bug 902762 pt 3 - Make DrawPartialLigature aware of vertical runs. 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
Bas Schouten
20ab143e76
Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel
2014-09-30 17:51:09 +02:00
Jeff Muizelaar
673f3a21d4
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04: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
87cc3a2642
Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc
2014-09-30 07:27:55 +01:00
Matt Woodrow
05fe9a0d0c
Bug 1070722 - Backout accidental inclusions in a4ae53da4fe6
2014-09-30 16:12:28 +13:00
Matt Woodrow
492e380aa7
Bug 1070722 - Fix reftest annotation for OSX 10.6
2014-09-30 15:26:40 +13:00
Matt Woodrow
17d41ed59f
Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas
2014-09-30 13:20:35 +13:00
Ed Morley
fad1e475af
Backed out changeset 318fa507832d (bug 1073086)
2014-09-29 17:42:34 +01:00
Jeff Muizelaar
5e0dbe7d22
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Jonathan Watt
b1c32c7a2b
Bug 1074012, part 2 - Mark gfxPattern::GetPattern's DrawTarget parameter as const. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
58ce4d9c22
Bug 1074012, part 1 - Temporarily expose some gfxContext fill/stroke API to help with porting to Moz2D. r=Bas
2014-09-29 14:26:15 +01:00
Jonathan Watt
12265c2c41
Bug 1073972 - Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas
2014-09-29 14:15:19 +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
Jonathan Watt
4d2d3b0296
Bug 1073363, part 3 - Convert some Mozilla code to use Moz2D's new GeneralPattern class. r=Bas
2014-09-29 14:12:06 +01:00
Jonathan Watt
5169f0e072
Bug 1073363, part 1 - Rename gfxContext's GeneralPattern to PatternFromState. r=Bas
2014-09-29 14:12:05 +01:00
Henri Sivonen
1d32f36a99
Bug 964225 addendum - Adjust gfx to use Encoding Standard encoding names when decoding the names of legacy Chinese Mac fonts. r=emk.
2014-09-29 15:05:15 +03:00
Markus Stange
3efef60534
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Jonathan Kew
ac48776ad3
Bug 923007 - Check for unexpected font substitution during Core Text shaping, and fall back to harfbuzz if this occurs. r=jdaggett
2014-09-26 09:20:20 +01:00
Kartikaya Gupta
af45294759
Bug 1073024 - Make a pref to control building event regions. r=roc
2014-09-26 02:44:34 -04:00
John Daggett
b0dafb656a
Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame
2014-09-25 12:16:54 +09:00
John Daggett
291057d212
Bug 998869 part 4 - rename fontgroup methods. r=heycam
2014-09-25 12:16:54 +09:00
John Daggett
245a756e02
Bug 998869 part 3 - rename userfont class methods. r=heycam
2014-09-25 12:16:53 +09:00
John Daggett
3570b54018
Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame
2014-09-25 12:16:53 +09:00
John Daggett
938b6ce42d
Bug 998869 part 1 - build fontlist more lazily (non-linux). r=jfkthame
2014-09-25 12:16:52 +09:00
Markus Stange
24c2ae2fdb
Bug 1072533 - Remove gfxASurface::GetDefaultContextFlags(). r=jwatt
2014-09-24 17:16:54 -04:00
Bas Schouten
983d188140
Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow
2014-09-24 17:12:10 +00:00
Milan Sreckovic
b689675056
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Milan Sreckovic
3fe61f95a3
Bug 980036 - Move image prefs to gfxPrefs. r=seth
2014-09-22 17:30:20 -04:00
Nicolas Silva
d3e6013f97
Bug 1066139 - Put stereo video behind a pref (off by default). r=Bas
2014-09-23 17:57:14 -04:00
Nicolas Silva
f9cc5dcaf9
Bug 1071825 - Remove simple tiling code. r=mattwoodrow
2014-09-23 17:44:48 -04:00
Georg Fritzsche
83f0c5bfb7
Bug 1067989 - Unify some more binary search uses. r=waldo
2014-09-17 15:46:24 +02:00
Botond Ballo
ce4474100b
Bug 1062483 - Make the overscroll effect harder to trigger accidentally. r=kats
...
--HG--
rename : gfx/layers/apz/src/OverscrollHandoffChain.cpp => gfx/layers/apz/src/OverscrollHandoffState.cpp
rename : gfx/layers/apz/src/OverscrollHandoffChain.h => gfx/layers/apz/src/OverscrollHandoffState.h
extra : rebase_source : 155c68fcd76c5f1e7a4e57818d238908bc8eb3c2
2014-09-23 11:38:05 -04:00
Matt Woodrow
2d5096129b
Bug 1067311 - Don't crash if a gfxSurfaceDrawable failed to allocate a SourceSurface. r=Bas
2014-09-22 16:49:40 -04:00
Henri Sivonen
072cc3fe96
Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk.
2014-09-22 16:15:34 +03:00
Christoph Kerschbaumer
7a5f6bc06f
Bug 1038756: Callsites creating a channel in /gfx/ (r=roc)
2014-09-21 09:45:49 -07:00
Jonathan Kew
313a75d924
Bug 1067343 - Check that mAvailableFonts[i] is non-null before trying to use it. r=jdaggett
2014-09-18 10:48:00 +01:00
Bas Schouten
7a91965ba7
Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE
2014-09-18 01:40:13 +02:00
Bas Schouten
086cbf0103
Bug 1068613 - Addendum 3: Fix bustage due to stray character. r=bustage on a CLOSED TREE
2014-09-18 01:04:07 +02:00