Jonathan Kew
6ad9a5ee43
Bug 1457103 - patch 1 - Make gfxFontEntry::HasVariations a pure-virtual method, and fill in missing subclass implementations, particularly in FT2FontEntry. r=jwatt
2018-04-26 17:08:18 +01:00
Emilio Cobos Álvarez
0faef276ec
Bug 1455885: Make the SVG context paint not use a node property, but a member in SVGDocument. r=jwatt
...
MozReview-Commit-ID: H6SRTsDL5Rh
2018-04-26 17:07:39 +02:00
Jonathan Kew
5485dd0a02
Bug 1456547 - When weight/stretch/style descriptor is omitted from a @font-face rule, the corresponding variation axis should not be clamped to the 'normal' value. r=jwatt
2018-04-26 15:32:36 +01:00
Jonathan Kew
4ca43a081e
Bug 1456820 - patch 4 - Reorder fields in gfxFont for better packing. r=lsalzman
2018-04-25 18:54:03 +01:00
Jonathan Kew
7820fa0d7a
Bug 1456820 - patch 3 - Reorder fields in gfxFontEntry for better packing. r=lsalzman
2018-04-25 18:54:03 +01:00
Jonathan Kew
7a753409a8
Bug 1456820 - patch 2 - Reorder fields in gfxFontStyle for better packing. r=lsalzman
2018-04-25 18:54:03 +01:00
Jonathan Kew
2a3d1d4598
Bug 1454598 - part 4 - Disable font variations on macOS Sierra due to Core Text unreliability. r=jwatt
2018-04-25 14:03:44 +01:00
Jonathan Kew
c57f185cd9
Bug 1454598 - part 3 - Use WeightRange more extensively in place of FontWeight throughout user-font handling and font-entry creation, and handle Stretch and SlantStyle similarly. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Kew
9872150acc
Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Kew
13a7aab50e
Bug 1454598 - part 2.1 - For system-installed fonts, query FC_VARIABLE to determine if a face has variations rather than instantiating a FT_Face. r=lsalzman
2018-04-25 07:18:23 +01:00
Jonathan Kew
b19488bd47
Bug 1454598 - part 1 - Make gfxFcPlatformFontList::GetFTLibrary work before font system is fully up and running, so that the global FT_Library can be used during initialization of the font list itself. r=lsalzman
2018-04-17 21:45:29 +01:00
Jonathan Kew
7e27ba83c3
Backed out 4 changesets from bug 1454598 (26e036b1c703, bc910e36a7d7, bac001216577, 5af215d265b6) due to macOS 10.12 font issues.
2018-04-25 10:18:07 +01:00
Jonathan Kew
8489323f79
Bug 1454598 - part 3 - Use WeightRange more extensively in place of FontWeight throughout user-font handling and font-entry creation, and handle Stretch and SlantStyle similarly. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Kew
6ca182d055
Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Kew
c75bb6f48d
Bug 1454598 - part 2.1 - For system-installed fonts, query FC_VARIABLE to determine if a face has variations rather than instantiating a FT_Face. r=lsalzman
2018-04-25 07:18:23 +01:00
Jonathan Kew
8ff8fafa15
Bug 1454598 - part 1 - Make gfxFcPlatformFontList::GetFTLibrary work before font system is fully up and running, so that the global FT_Library can be used during initialization of the font list itself. r=lsalzman
2018-04-17 21:45:29 +01:00
sotaro
1787768767
Bug 1454878 - Update WrExternalLogHandler as to use env_logger r=jrmuizel
2018-04-25 12:05:26 +09:00
Ciure Andrei
33e644e1da
Merge inbound to mozilla-central. a=merge
2018-04-24 04:14:21 +03:00
Jonathan Kew
6fe5024795
Bug 1436048 followup, fix for Windows build bustage. r=emilio(irc) on a CLOSED TREE
2018-04-23 18:42:49 +01:00
Alexis Beingessner
4303ce985c
Bug 1403261 - enable native webrender handling of partial ligatures. r=jrmuizel,mstange
...
The clipping code uses gfxContext::GetClipExtents which calls gfxContext::GetDeviceOffset
and DrawTarget::GetSize. The former was previously not being intialized, while the latter
was explicitly unimplemented. This patch fixes both of those facts.
Otherwise, enabling this functionality has been made trivial by several upstream patches
in webrender (the most recent being glenn's work on unifying shadows which eliminated
the buggy text-shadow shader code that was blocking this).
MozReview-Commit-ID: B1AlG3o4XQS
--HG--
extra : rebase_source : 2043c9c781f507c5d02041420145b1a5c59c0bb2
2018-04-16 23:05:48 -04:00
Jonathan Kew
4b2b2d4c9f
Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman
2018-04-20 17:18:03 +01:00
Jonathan Watt
156c4af1ec
Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
...
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Andrew Osmond
3db22ac912
Bug 1453801 - Part 3. Fix race condition shutting down the render thread and shared surfaces. r=sotaro
2018-04-23 07:57:17 -04:00
Cosmin Sabou
a024f6e7c8
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-20 06:50:57 +03:00
Cosmin Sabou
dcacfcfc71
Backed out 2 changesets (bug 1454598) as requested by Mossop in developers channel. a=backout
...
Backed out changeset b673e87d6134 (bug 1454598)
Backed out changeset 072dc1504ce6 (bug 1454598)
2018-04-20 06:45:39 +03:00
Cosmin Sabou
5e9d16a446
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-20 01:37:07 +03:00
Kartikaya Gupta
cee64af762
Bug 1391318 - Automatically enable async scene building with webrender.all. r=jrmuizel
...
MozReview-Commit-ID: IRXZq8ynrdt
--HG--
extra : rebase_source : b34691d952138f442fd376cbc5a79f9742e26f6b
2018-04-19 14:10:36 -04:00
Noemi Erli
875e5ed0a1
Merge inbound to mozilla-central. a=merge
2018-04-19 12:53:30 +03:00
Kartikaya Gupta
becb26798a
Bug 1454465
- Turn some override prefs back into regular prefs. r=jrmuizel
...
These prefs are on by default now, and so there's no point in keeping them as
override prefs.
MozReview-Commit-ID: Gzs65oS9koD
--HG--
extra : rebase_source : 89d52f7992a0e87f60673f3b7bd6efad627fd040
2018-04-18 15:30:03 -04:00
Jonathan Kew
6f1e2a29b3
Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
2018-04-19 13:28:13 +01:00
Jonathan Kew
6b0c3d90d8
Bug 1454598 - part 1 - Make gfxFcPlatformFontList::GetFTLibrary work before font system is fully up and running, so that the global FT_Library can be used during initialization of the font list itself.
2018-04-17 21:45:29 +01:00
Nicholas Nethercote
51f2b494ea
Bug 1448222 - Remove MediaPrefs. r=jya
...
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.
Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.
Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.
MozReview-Commit-ID: IfHP37NbIjY
--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00
Jonathan Kew
7b924dade9
Bug 1436048 part 2 - Store FontWeight as a fixed-point value to support fractional font-weight values. r=jwatt
2018-04-16 20:26:08 +01:00
Ryan Hunt
d1e87928b5
Bug 1438551 - Add a pref for enabling tiles when we are using skia with parallel painting. r=nical
...
MozReview-Commit-ID: JVIFr2wUWHD
--HG--
extra : rebase_source : 67cf74011993a971d66d9a7350171f0190ec08cd
2018-04-10 11:29:14 -05:00
Ryan Hunt
4f2811fcda
Bug 1438551 - Don't discard the back buffer when we reuse the front buffer. r=nical
...
It can happen often where we reuse the front buffer for a long paint, and then
the next frame we see that it is still locked, and need to allocate a new buffer
from the texture pool. If this happens we don't need to repaint the new buffer
because the old buffer is still around, but we do need to copy it over and
upload it to texture sources. It seems better to just hold onto the back buffer
and let it accumulate more invalid regions.
MozReview-Commit-ID: 2DQjwAX7ZmM
--HG--
extra : rebase_source : 3077952d3ef56deea6af68492f71bb114d96d84a
2018-04-10 09:27:09 -05:00
Jonathan Kew
94238d9823
Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt
2018-04-16 10:00:57 +01:00
Andreea Pavel
01f50bc3d8
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-14 00:56:30 +03:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Jonathan Watt
cd28f53640
Bug 1453924
- Remove bogus multiplication by 100 in GDIFontEntry::TestCharacterMap. r=jfkthame
...
--HG--
extra : rebase_source : 0556f0f51557dc87e458c1d48d142ee679d98403
2018-04-11 21:15:48 +01:00
Markus Stange
98c6ff684d
Bug 1444430 - Extend the API of gfxUtils::EncodeSourceSurface to support encoding into a string. r=jrmuizel
...
MozReview-Commit-ID: KxXkOmat9RU
--HG--
extra : rebase_source : e8eed1a6330fcad42c78c8d8115ff41fc7e6a5f0
2018-04-12 15:20:14 -04:00
Markus Stange
f4bfb59a34
Bug 1444430 - Remove a copy in EncodeSourceSurfaceInternal. r=jrmuizel
...
MozReview-Commit-ID: 5iNEd4RKIyn
--HG--
extra : rebase_source : 2ae9ad954be266c652fec3caa3b604027f09c9b0
2018-03-26 23:04:04 -04:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Kartikaya Gupta
4a07281ed3
Bug 1449982 - Introduce pref to control async scene building. r=nical
...
Until all the pieces are in place, turning on this pref will probably
break horribly. But we need the pref so we can add the rest of the
pieces without enabling them by default.
MozReview-Commit-ID: 7DkcwZgXwhx
--HG--
extra : rebase_source : e1fdef2e9a682028df524f51f767a4d2187410b1
2018-04-10 12:29:55 -04:00
Jonathan Watt
52623f7cef
Bug 1452466 - Get rid of gfxFontStyle::ComputeWeight. r=jfkthame
2018-04-09 10:39:17 +01:00
Jonathan Kew
309329c3c0
Bug 1450209 - Avoid use of CTFontGetAdvancesForGlyphs with variation fonts due to possible Core Text crash. r=mstange
2018-04-06 19:44:05 +01:00
Ted Campbell
ce6621e562
Bug 1451878 - Add memory reporting for gfxDWriteFontFileLoader. r=lsalzman
...
MozReview-Commit-ID: 9EBXTiNfRrA
2018-04-06 12:44:07 -04:00
Jonathan Kew
c66fb1e660
Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman
2018-04-05 18:53:56 +01:00
Jonathan Kew
ee9b08a330
Bug 1341088 - Enable validation of opentype variation tables in downloadable fonts, and replace the keep_variation_tables pref with validate_variation_tables (default=true). r=jrmuizel
2018-04-04 10:08:05 +01:00
Emilio Cobos Álvarez
edd18bcc35
Bug 1420680: Remove the user font cache generation, which is also unused now. r=jfkthame
...
MozReview-Commit-ID: HuQg4RopOmX
2018-04-03 16:22:56 +02:00