gfx/thebes/gfxFcPlatformFontList.cpp
5755188b40c5d312d59bacda773251d8ef34d267
created 2018-05-28 10:09 +0100
pushed 2018-05-31 16:41 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - Part 2: Remove always-true argument aCheckEnvironment from gfxFcPlatformFontList::GetSampleLangForGroup. r=emilio, a=RyanVM
cbe2ef9e7e4a7cb522ef9810bf79aeca628b1804
created 2018-05-25 21:18 +0100
pushed 2018-05-31 16:41 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - Part 1: Move methods only used by fontconfig backend from gfxPlatformFontList to the fontconfig subclass. (No functional change.) r=emilio, a=RyanVM
b66154dfa3d35f75bdaf763f4ecce5f34f4405b9
created 2018-05-30 21:15 +0200
pushed 2018-05-30 22:57 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Automatic replacements. r?froydnj draft
a3142138b6c90f43e76ab7508b32aa931a589616
created 2018-05-28 10:09 +0100
pushed 2018-05-30 15:07 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - Part 3: Make gfxFcPlatformFontList::TryLangForGroup safe for off-main-thread use when called from GetSystemFontList. r=emilio, a=RyanVM
27f627cf78833ee91ae2958cf3a58c806e2d835c
created 2018-05-28 10:09 +0100
pushed 2018-05-30 15:07 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - Part 2: Remove always-true argument aCheckEnvironment from gfxFcPlatformFontList::GetSampleLangForGroup. r=emilio, a=RyanVM
7a238a8591587be826418452275f7b2e7a6364f5
created 2018-05-28 10:09 +0100
pushed 2018-05-28 13:13 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - patch 3 - Make gfxFcPlatformFontList::TryLangForGroup safe for off-main-thread use when called from GetSystemFontList. r=emilio
aeb7865ac41994d7fe0e90694e07ecdfe7486a85
created 2018-05-28 10:09 +0100
pushed 2018-05-28 13:13 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - patch 2 - Remove always-true argument aCheckEnvironment from gfxFcPlatformFontList::GetSampleLangForGroup. r=emilio
ea82a59465a958b93f2cd61cb6b59415a990a46a
created 2018-05-27 10:04 +0200
pushed 2018-05-27 10:09 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Backed out changeset d48abd83fc7c (bug 1463884) since it's not the correct fix. r=me
d48abd83fc7c9fe5f5ec564f12e4c7a88ef81668
created 2018-05-25 21:18 +0100
pushed 2018-05-26 01:34 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - patch 2 - Make gfxFcPlatformFontList::TryLangForGroup safe for off-main-thread use. r=emilio
695a21084f8f5d1048956fd863b9767a1b21fdef
created 2018-05-25 21:18 +0100
pushed 2018-05-26 01:34 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - patch 1 - Move methods only used by fontconfig backend from gfxPlatformFontList to the fontconfig subclass. (No functional change.) r=emilio
a4096171bfdbea9956e8afd4d74ac0b7c89506b1
created 2018-05-01 10:30 +0100
pushed 2018-05-01 15:43 +0000
Jonathan Kew Jonathan Kew - Bug 1449605 - part 1 - Rearrange thebes font code so that the decision whether to apply synthetic-bold is deferred until actually instantiating a font, not made during the font-matching process. r=jwatt
c4e1dc66dae2bec5444fd92ba27dde33ccd95917
created 2018-04-26 17:08 +0100
pushed 2018-04-26 16:13 +0000
Jonathan Kew Jonathan Kew - Bug 1457103 - patch 2 - Refactor logic from gfxFontconfigFontEntry implementations of GetVariationAxes and GetVariationInstances to gfxFT2Utils, where it can be shared by the gfxFT2Fonts backend. r=jwatt
2e9eda40f4770cc1fd2a2aa2263c1020445ef636
created 2018-04-25 14:03 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - Bug 1454598 - part 4 - Disable font variations on macOS Sierra due to Core Text unreliability. r=jwatt
ee068c7ae8f44f55c0d0cd004cba77b2c402a2db
created 2018-04-25 07:18 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - 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
3c05b11ca2b837819a60c4a05ac85822f56c608e
created 2018-04-25 07:18 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
53b86f2f71a8bc7f09b650bc93669f25cef27dc2
created 2018-04-25 07:18 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - 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
de118016272b5783c543a57e65d79cdbd87dd035
created 2018-04-17 21:45 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - 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
aa4185068f2e3ffb1377afa0e0d95b3c5ac0a04c
created 2018-04-25 10:18 +0100
pushed 2018-04-25 15:47 +0000
Jonathan Kew Jonathan Kew - Backed out 4 changesets from bug 1454598 (26e036b1c703, bc910e36a7d7, bac001216577, 5af215d265b6) due to macOS 10.12 font issues.
26e036b1c7030f8fcbb6975d1a91a4750a88c2d6
created 2018-04-25 07:18 +0100
pushed 2018-04-25 13:43 +0000
Jonathan Kew Jonathan Kew - 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
bc910e36a7d75512b3bfc0a73110166145b095e9
created 2018-04-25 07:18 +0100
pushed 2018-04-25 13:43 +0000
Jonathan Kew Jonathan Kew - Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
bac00121657710355c2cb012e6959fcd487299b1
created 2018-04-25 07:18 +0100
pushed 2018-04-25 13:43 +0000
Jonathan Kew Jonathan Kew - 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
5af215d265b649a69975cc94886dd281c91f5908
created 2018-04-17 21:45 +0100
pushed 2018-04-25 13:43 +0000
Jonathan Kew Jonathan Kew - 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
6ad2ef987c9f7823be13c51bb5dbb23fcf00f182
created 2018-04-23 16:52 +0200
pushed 2018-04-23 19:33 +0000
Jonathan Watt Jonathan Watt - Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
b95ae0e1e9e09dd21531811c491b163c8c052a9c
created 2018-04-20 06:45 +0300
pushed 2018-04-20 06:54 +0000
Cosmin Sabou Cosmin Sabou - Backed out 2 changesets (bug 1454598) as requested by Mossop in developers channel. a=backout
b673e87d613411b38707fecd3ab6ae7b527d5e65
created 2018-04-19 13:28 +0100
pushed 2018-04-19 18:11 +0000
Jonathan Kew Jonathan Kew - Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt
072dc1504ce6cd2a9a2a1e13bf29bb574e9d9c62
created 2018-04-17 21:45 +0100
pushed 2018-04-19 18:11 +0000
Jonathan Kew Jonathan Kew - 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.
8b14b0ba94dbaf348ae63d7c4014f95e4c4ea73e
created 2018-04-16 10:00 +0100
pushed 2018-04-16 11:56 +0000
Jonathan Kew Jonathan Kew - Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt
837a6f4efa3eaf3cff106349b735e718efb4d4a6
created 2018-04-13 20:34 +0100
pushed 2018-04-13 23:37 +0000
Jonathan Watt Jonathan Watt - Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
a1f0ff77da8c4613bac3b34728934f34378798d7
created 2018-02-08 14:45 +0200
pushed 2018-03-15 13:42 +0000
Henri Sivonen Henri Sivonen - Bug 1402247 part 5 - Remove const char* / const char16_t versions of string encoding conversions. draft
e4d8c6469fb2894e943b2f9a810a56c28dad47e0
created 2018-02-08 21:50 +0000
pushed 2018-02-13 03:37 +0000
Jonathan Kew Jonathan Kew - Bug 1435984 - patch 8 - Apply variation settings from the font entry in the Linux (fontconfig) back-end. draft
f572d453d29b24d87bac1c123548826917779b4c
created 2018-02-08 14:45 +0200
pushed 2018-02-08 12:50 +0000
Henri Sivonen Henri Sivonen - Bug 1402247 part 5 - Remove const char* / const char16_t versions of string encoding conversions. draft
a89402b9e103a2f113adfe5a75b3f68eab47c3eb
created 2018-02-01 15:28 +0000
pushed 2018-02-01 18:22 +0000
Jonathan Kew Jonathan Kew - Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman
33fb37dc9d54aed1361ef20fcd50154fbbe61bd9
created 2018-01-29 13:24 +0000
pushed 2018-01-29 16:58 +0000
Jonathan Kew Jonathan Kew - Bug 1432552 - patch 2 - Linux font back-end implementation of getVariationInstances. r=dholbert
a4a0e7c496c6ad421fcb207d33f27ae78daf0b1e
created 2018-01-18 19:27 +0000
pushed 2018-01-26 19:12 +0000
Jonathan Kew Jonathan Kew - Bug 1323743 - patch 4 - Implement gfxFontEntry::GetVariationAxes for the Linux (fontconfig) backend. r=dholbert
58b31f942b51d1846d58bce3fed37c5baebbb8d3
created 2018-01-17 07:51 -0500
pushed 2018-01-17 16:20 +0000
Lee Salzman Lee Salzman - Bug 1400384 - support text writing modes with WebRender. r=gankro
dc271c111e3352f23b424f0a041432dac027ee78
created 2018-01-09 10:37 -0500
pushed 2018-01-09 20:56 +0000
Lee Salzman Lee Salzman - Bug 1394568 - plumb synthetic italics flag through thebes and Moz2D into WebRender. r=gankro
89faa23196eaf6bef55e712663bb0f01f8247f18
created 2018-01-06 10:58 +0000
pushed 2018-01-06 22:34 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 6 - Tidy up and refactor code for creating FcPattern for an FT_Face and vice versa. r=lsalzman
78fe966a5d43de3b05066a0da697baa960c6fd3f
created 2018-01-06 10:58 +0000
pushed 2018-01-06 22:34 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 5 - Also for system-installed fonts, create a separate FcPattern and face for each instance when variations are present. r=lsalzman
d6e329f15f6ab2ca85c7daef5ce0370a1327cd00
created 2017-12-10 14:01 +0000
pushed 2018-01-06 22:34 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 4 - For downloadable fonts that have variations, create a separate FT_Face for each instance used. r=lsalzman
54896137200d457c307690840e1efa02b7567466
created 2017-12-07 13:22 +0000
pushed 2018-01-06 22:34 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 3 - Add variation data to the cairo_ft_*_font objects, so they can properly track instances of the same font resource used with different variation parameters. r=lsalzman
f9033e71d7284bcaaf1b831e7b5b879be59f60ad
created 2017-12-06 13:51 +0000
pushed 2018-01-06 22:34 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 1 - Get glyph widths directly from the FreeType face, instead of via a cairo scaled_font wrapper. r=lsalzman
08f68cd96832095042ee4b12b3f5e8579e2fb619
created 2017-11-14 11:16 +0800
pushed 2017-12-05 14:33 +0000
Tim Huang Tim Huang - Bug 1336208 - Part 2: Making the gfxPlatformFontList to use fonts directory in profile folder if it exists for bundled fonts. r?jfkthame,arthuredelstein draft
6aae2ac5ea40e63300ef8b674894c11c6080f041
created 2017-11-22 11:10 +0000
pushed 2017-11-22 12:45 +0000
Jonathan Kew Jonathan Kew - Bug 1419673 - Only check font paths against sandbox policy if read sandboxing is enabled. r=gcp
17cda491f6ff65e920f37489510867c04241785f
created 2017-11-14 11:16 +0800
pushed 2017-11-22 12:37 +0000
Tim Huang Tim Huang - Bug 1336208 - Part 2: Making the gfxPlatformFontList to use fonts folder in profile folder if it exists for bundled fonts. r?jfkthame,arthuredelstein draft
d0cdbb2cddf60e6e1b9c0f14fea388a3090427d6
created 2017-11-17 10:54 +0000
pushed 2017-11-17 14:24 +0000
Jonathan Kew Jonathan Kew - Bug 1416795 - Implement synthetic-oblique font rendering by applying a transform at gfxFont::Draw time, rather than setting it on the cairo font matrix. r=jrmuizel
3a0e53eec16a4df3e36a2cbbf44a3ff0d25e8c50
created 2017-11-09 16:54 +0000
pushed 2017-11-12 23:39 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 3 - Check the sandbox policy to verify font files will be readable by the content process before including them in the system font list. r=gps
c32418d902300ac0a8720a087900cae6daa28de9
created 2017-11-12 21:35 +0000
pushed 2017-11-12 23:39 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 2.1 - Work around FcNameParse bug in fontconfig versions around 2.11.0, by escaping any leading space in the encoded charset element. r=lsalzman
e549fef3f2a283d70c04ec6d66121ccc94ef115b
created 2017-11-02 20:29 +0000
pushed 2017-11-12 23:39 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
43cf3f8f1fd6808a500c4e47e43a0fb939685de2
created 2017-11-10 16:05 +0000
pushed 2017-11-10 22:53 +0000
Jonathan Kew Jonathan Kew - Backed out changesets 75e7f32c3365, eec946b59360, 72a6f5f3512c, ea8ee40ed426 (bug 1412090) for apparently breaking all system-installed fonts on some Linux systems. r=backout
eec946b5936068af4034b536735710e6f15d2e2a
created 2017-11-09 16:54 +0000
pushed 2017-11-09 23:43 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 3 - Check the sandbox policy to verify font files will be readable by the content process before including them in the system font list. r=gps
72a6f5f3512c49acc3e3735dbadd1007f9ddc54c
created 2017-11-02 20:29 +0000
pushed 2017-11-09 23:43 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
98e2b4ee9775a2a2b5cc1bb8a390bfe901814f38
created 2017-11-06 13:22 +0100
pushed 2017-11-07 10:47 +0000
Sylvestre Ledru Sylvestre Ledru - reformat all draft
df53224b917158a08bccadeef488f30a2b2ac89b
created 2017-11-05 09:35 +0000
pushed 2017-11-06 00:27 +0000
Jonathan Kew Jonathan Kew - Backed out csets f9763adebe68, a1c1fe33a052, bf35d13e27f3, c6ad01bf0b66 (bug 1412090) for ASan failures.
a1c1fe33a052ac9ff96fbbe389f53687d25e2afc
created 2017-11-05 08:42 +0000
pushed 2017-11-06 00:27 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 3 - Check the sandbox policy to verify font files will be readable by the content process before including them in the system font list. r=gps
bf35d13e27f392dc5dcdab3e7755c69b632f46ab
created 2017-11-02 20:29 +0000
pushed 2017-11-06 00:27 +0000
Jonathan Kew Jonathan Kew - Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
9a80c910d2029f93241b1c295c5f20420ecc8d60
created 2017-11-05 18:54 +0100
pushed 2017-11-05 18:10 +0000
Sylvestre Ledru Sylvestre Ledru - Fix clang format 6.0 draft
78f6394c884cc4d87c5ac188ba4abeec314813a4
created 2017-11-05 17:29 +0100
pushed 2017-11-05 18:10 +0000
Sylvestre Ledru Sylvestre Ledru - reformat all draft
d3563e1878837b3cec614308d56839ab09ae14fc
created 2017-10-30 22:31 -0400
pushed 2017-10-31 12:39 +0000
Lee Salzman Lee Salzman - Bug 1412545 - AddRef user data before passing to cairo_font_face_set_user_data. r=jrmuizel
c2eb72da21211af2e08aaaef388e89c23b4fd2bd
created 2017-10-28 13:21 +0100
pushed 2017-10-28 18:31 +0000
Jonathan Kew Jonathan Kew - Bug 1407114 - part 1 - preliminary cleanup - Remove the (unused) runScript member from the GlobalFontMatch struct, and introduce gfxFontEntry::IsNormalStyle() helper method. r=jrmuizel
16a80fc4e1026d42d148e834f41237b35d0474b8
created 2017-10-18 14:22 -0400
pushed 2017-10-19 02:25 +0000
Lee Salzman Lee Salzman - Bug 1404742 - track ScaledFont and UnscaledFont lifetimes with ThreadSafeWeakPointer. r=bas
less more (0) -100 -60 tip