gfx/thebes/gfxFcPlatformFontList.cpp
bae2e21a9312dea37815c31e21605527e926dbb9
created 2018-09-18 09:34 +0100
pushed 2018-12-03 15:51 +0000
Jonathan Kew Jonathan Kew - Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman
588fe70e5905480ebc60225b4b093ff276df72d2
created 2018-09-12 20:34 +0100
pushed 2018-12-03 15:51 +0000
Jonathan Kew Jonathan Kew - Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman
411427c1f5fe876edcd92f31b3c86bbb8d509ac7
created 2018-08-22 05:27 -0400
pushed 2018-10-15 10:40 +0000
Landry Breuil Landry Breuil - Bug 1457092 - Content sandbox codepaths are Linux only. r=gcp
4ef0f163fdeb9afeddd87b37bfd987298c038542
created 2018-07-06 10:44 +0300
pushed 2018-10-15 10:40 +0000
Henri Sivonen Henri Sivonen - Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj.
aee91e7da807e596dc18e0286500dcfd98b05c09
created 2018-08-01 22:39 +0100
pushed 2018-10-15 10:40 +0000
Jonathan Kew Jonathan Kew - Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman
860f77039bdf01e87ee2af958948e71448027e74
created 2018-07-04 10:56 -0400
pushed 2018-10-15 10:40 +0000
Lee Salzman Lee Salzman - Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame
33346f699996421fc8bf22a25f574de470142a41
created 2018-06-17 22:43 -0700
pushed 2018-10-15 10:40 +0000
Chris Peterson Chris Peterson - Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
4a20ed6e2fee8c64419134ad5b6778f26bfffaec
created 2018-06-14 16:42 -0700
pushed 2018-10-15 10:40 +0000
Lee Salzman Lee Salzman - Bug 1470515 - refactor ScaledFontFreeType for Android WR. r=rhunt
eaa3a2a13a5d31b476f99e9ac29c62f35692c775
created 2018-08-01 22:39 +0100
pushed 2018-08-24 17:02 +0000
Jonathan Kew Jonathan Kew - Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman a=lizzard
1151c924c02946047575e9821321b09ae517e382
created 2018-06-09 08:44 -0400
pushed 2018-08-24 17:02 +0000
Landry Breuil Landry Breuil - Bug 1457092 - Only include SandboxBroker.h header on Linux sandbox. r=gcp
1003bb0905c53eb6a46f6c8cea029afd9d76a078
created 2018-06-01 13:08 -0400
pushed 2018-08-24 17:02 +0000
Lee Salzman Lee Salzman - Bug 1464094 - print font variations as paths for PDF/PS output. r=jfkthame
9eabcc7a5eae3a16644bf06b5b0211e093251d66
created 2018-05-25 14:07 +0100
pushed 2018-08-24 17:02 +0000
Jonathan Kew Jonathan Kew - Bug 1464400 - Keep track of CSS generics when resolving to actual font families and faces, and expose as a new CSSGeneric attribute on InspectorFontFace. r=jwatt
538a689e3487689416f0c06630a19cbc4ab193f7
created 2018-06-01 19:07 +0300
pushed 2018-08-24 17:02 +0000
Brindusan Cristian Brindusan Cristian - Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE
f8dbb1d2d07cb5645d8370b1f766b21da538d392
created 2018-05-25 14:07 +0100
pushed 2018-08-24 17:02 +0000
Jonathan Kew Jonathan Kew - Bug 1464400 - Keep track of CSS generics when resolving to actual font families and faces, and expose as a new CSSGeneric attribute on InspectorFontFace. r=jwatt
b54db66223586b4e04f5cb926fccdacf8a176b91
created 2018-05-30 21:15 +0200
pushed 2018-08-24 17:02 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
7a238a8591587be826418452275f7b2e7a6364f5
created 2018-05-28 10:09 +0100
pushed 2018-08-24 17:02 +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-08-24 17:02 +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-08-24 17:02 +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-08-24 17:02 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - patch 2 - Make gfxFcPlatformFontList::TryLangForGroup safe for off-main-thread use. r=emilio
a3142138b6c90f43e76ab7508b32aa931a589616
created 2018-05-28 10:09 +0100
pushed 2018-06-18 21:12 +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-06-18 21:12 +0000
Jonathan Kew Jonathan Kew - Bug 1463884 - Part 2: Remove always-true argument aCheckEnvironment from gfxFcPlatformFontList::GetSampleLangForGroup. r=emilio, a=RyanVM
4fcab7ec6dd04b57b9b10ec367e35f7961fb10d2
created 2018-05-25 21:18 +0100
pushed 2018-06-18 21:12 +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
a4096171bfdbea9956e8afd4d74ac0b7c89506b1
created 2018-05-01 10:30 +0100
pushed 2018-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +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-06-18 21:12 +0000
Jonathan Watt Jonathan Watt - Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
2b4451a45ed7c26e7fd4e4b2cb2fa245485ded71
created 2018-02-14 22:02 +1100
pushed 2018-04-26 16:43 +0000
Jonathan Kew Jonathan Kew - Bug 1435984 - patch 8 - Apply variation settings from the font entry in the Linux (fontconfig) back-end on a CLOSED TREE. r=lsalzman
a89402b9e103a2f113adfe5a75b3f68eab47c3eb
created 2018-02-01 15:28 +0000
pushed 2018-04-26 16:43 +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-04-26 16:43 +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-04-26 16:43 +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-03-01 12:45 +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-03-01 12:45 +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-03-01 12:45 +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-03-01 12:45 +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-03-01 12:45 +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-03-01 12:45 +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-03-01 12:45 +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
6aae2ac5ea40e63300ef8b674894c11c6080f041
created 2017-11-22 11:10 +0000
pushed 2018-03-01 12:45 +0000
Jonathan Kew Jonathan Kew - Bug 1419673 - Only check font paths against sandbox policy if read sandboxing is enabled. r=gcp
d0cdbb2cddf60e6e1b9c0f14fea388a3090427d6
created 2017-11-17 10:54 +0000
pushed 2018-03-01 12:45 +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
5edf5a792dc37f502452fc103fbdf490b7b6874b
created 2017-11-09 16:54 +0000
pushed 2018-01-11 17:45 +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 a=gchang
a298f27945aafc8282c103c90916d4c7ca57c82f
created 2017-11-12 21:35 +0000
pushed 2018-01-11 17:45 +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 a=gchang
a9f13ba650d2121ba8e519779a04e43815df0f7c
created 2017-11-02 20:29 +0000
pushed 2018-01-11 17:45 +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 a=gchang
43cf3f8f1fd6808a500c4e47e43a0fb939685de2
created 2017-11-10 16:05 +0000
pushed 2018-01-11 17:45 +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 2018-01-11 17:45 +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 2018-01-11 17:45 +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
df53224b917158a08bccadeef488f30a2b2ac89b
created 2017-11-05 09:35 +0000
pushed 2018-01-11 17:45 +0000
Jonathan Kew Jonathan Kew - Backed out csets f9763adebe68, a1c1fe33a052, bf35d13e27f3, c6ad01bf0b66 (bug 1412090) for ASan failures.
less more (0) -100 -60 tip