gfx/thebes/gfxFontEntry.h
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-21 13:03 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
27730939a1386619acfe4feb31e205977bde878a
created 2018-12-08 08:44 -0500
pushed 2019-01-21 13:03 +0000
Jonathan Kew Jonathan Kew - Bug 1500356 - Update gfxFont/gfxFontEntry to use new harfbuzz API in place of deprecated functions. r=jrmuizel
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
588fe70e5905480ebc60225b4b093ff276df72d2
created 2018-09-12 20:34 +0100
pushed 2018-10-15 21:07 +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
aee91e7da807e596dc18e0286500dcfd98b05c09
created 2018-08-01 22:39 +0100
pushed 2018-08-24 17:49 +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
33346f699996421fc8bf22a25f574de470142a41
created 2018-06-17 22:43 -0700
pushed 2018-08-24 17:49 +0000
Chris Peterson Chris Peterson - Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
eaa3a2a13a5d31b476f99e9ac29c62f35692c775
created 2018-08-01 22:39 +0100
pushed 2018-08-06 08:24 +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
9eabcc7a5eae3a16644bf06b5b0211e093251d66
created 2018-05-25 14:07 +0100
pushed 2018-06-18 21:43 +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-06-18 21:43 +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-06-18 21:43 +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-06-18 21:43 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
62be2b3915b4f37a6920fa5177d9602ae036a767
created 2018-05-15 14:59 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1458301 - Unify font face selection methods to consistently use WeightStyleStretchDistance to evaluate the closeness of an available resource to a requested style. r=jwatt
18cf597d218bce788f581545819a3907e16d5884
created 2018-05-09 13:49 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1458004 - Link font-style values italic / oblique to the appropriate variation-font axes or synthetic styling. r=jwatt
a31c1b8a41f81fb564bd86e1c22617595d61a42d
created 2018-04-28 12:50 -0700
pushed 2018-06-18 21:43 +0000
Chris Peterson Chris Peterson - Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
f9c96567050b556a8e63d5c879dc77ea6b7a6f9d
created 2018-05-04 17:36 +0100
pushed 2018-05-06 20:01 +0000
Jonathan Kew Jonathan Kew - Bug 1459158 - Don't apply variation values from CSS font-weight/font-stretch properties if the font's variation axes appear to use a non-CSS-like scale. r=jwatt
24583a2f0c84ca8a8fd08d8ce88fa7717d7c2a9d
created 2018-05-04 10:19 +0100
pushed 2018-05-06 20:01 +0000
Jonathan Kew Jonathan Kew - Bug 1449605 - part 2 - Rename gfxFontEntry::IsBold() to SupportsBold() and make it smarter about variable fonts, to avoid inappropriate use of synthetic-bold effect. r=jwatt
a4096171bfdbea9956e8afd4d74ac0b7c89506b1
created 2018-05-01 10:30 +0100
pushed 2018-05-03 15:28 +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
f1c7ad9294b3c200d66590f0e7ddd8cf0c47f0cf
created 2018-04-26 17:08 +0100
pushed 2018-04-28 10:35 +0000
Jonathan Kew Jonathan Kew - Bug 1457103 - patch 3 - Make gfxFontEntry::GetVariationAxes and GetVariationInstances pure virtual, and provide missing subclass implementations. r=jwatt
46864f33859eecba12b01b4011d392ee20520648
created 2018-04-26 17:08 +0100
pushed 2018-04-28 10:35 +0000
Jonathan Kew Jonathan Kew - Bug 1457103 - patch 1 - Make gfxFontEntry::HasVariations a pure-virtual method, and fill in missing subclass implementations, particularly in FT2FontEntry. r=jwatt
93cf389546fdaa2679508d2486933cd80baa1c5f
created 2018-04-26 15:32 +0100
pushed 2018-04-28 10:35 +0000
Jonathan Kew Jonathan Kew - 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
2758feefd02f0a08a98d25b0a157f8c8cbd18b97
created 2018-04-25 18:54 +0100
pushed 2018-04-26 21:04 +0000
Jonathan Kew Jonathan Kew - Bug 1456820 - patch 3 - Reorder fields in gfxFontEntry for better packing. r=lsalzman
ee068c7ae8f44f55c0d0cd004cba77b2c402a2db
created 2018-04-25 07:18 +0100
pushed 2018-04-26 21:04 +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-26 21:04 +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
aa4185068f2e3ffb1377afa0e0d95b3c5ac0a04c
created 2018-04-25 10:18 +0100
pushed 2018-04-26 21:04 +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-26 21:04 +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-26 21:04 +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
6ad2ef987c9f7823be13c51bb5dbb23fcf00f182
created 2018-04-23 16:52 +0200
pushed 2018-04-26 21:04 +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-26 21:04 +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-26 21:04 +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
0ceabd10aac2272e83850e278c7876f32dbae42e
created 2018-04-16 20:26 +0100
pushed 2018-04-26 21:04 +0000
Jonathan Kew Jonathan Kew - Bug 1436048 part 2 - Store FontWeight as a fixed-point value to support fractional font-weight values. r=jwatt
8b14b0ba94dbaf348ae63d7c4014f95e4c4ea73e
created 2018-04-16 10:00 +0100
pushed 2018-04-26 21:04 +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-26 21:04 +0000
Jonathan Watt Jonathan Watt - Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
cb6b4a2f5170c43b7c6c776e6fae265d8ce93686
created 2018-02-14 22:02 +1100
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1435984 - patch 3 - Store variation settings from the @font-face rule in the gfxFontEntry for user fonts. r=jwatt
8290a5ff735438dd11b03fb0ca442e3bf8752ae3
created 2018-01-30 09:57 +0000
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1280162 - patch 1 - Implement gfxFontEntry method to query font feature info for OpenType fonts. r=dholbert
a7ff43ee429bc09e0e99f98ca95e024e22004e52
created 2018-01-29 13:24 +0000
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1432552 - patch 1 - Add a getVariationInstances() method to InspectorFontFace. r=dholbert,bz
625b879e0a93343591140c2ba4cf3a2afc614c1c
created 2018-01-26 15:47 +0000
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1323743 - patch 1 - Add an API to gfxFontEntry to allow querying the available variation axes in a font face. (No actual implementation yet.) r=dholbert
d4f80c4ba719d375e3b6d81a2fdd58007475f53c
created 2017-11-23 19:40 +0000
pushed 2018-01-11 21:05 +0000
Jonathan Kew Jonathan Kew - Bug 1403302 - patch 3 - Remove direct cairo dependency from gfxTextRun and gfxGlyphExtents. r=bas
a48c10a1e0644ae267d26c9d5d4a7c358852ed13
created 2017-11-09 16:54 +0000
pushed 2017-11-10 21:18 +0000
Jonathan Kew Jonathan Kew - Bug 1415880 - Remove the obsolete mIsValid flag from gfxFontEntry, as nothing depends on it any more. r=jrmuizel
c2eb72da21211af2e08aaaef388e89c23b4fd2bd
created 2017-10-28 13:21 +0100
pushed 2017-11-02 16:33 +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
2671b1108d73170d0ef06b15390e93d8a7138a27
created 2017-10-11 22:12 +0100
pushed 2017-11-02 16:33 +0000
Jonathan Kew Jonathan Kew - Bug 1405148 - part 1 - Make gfxFontEntry::SupportsOpenTypeFeature a virtual method, and override on MacOS for AAT fonts that we'll shape with Core Text instead of HarfBuzz. r=jrmuizel
67a8e12324569dd730347187e2ffccae486c758b
created 2017-10-03 09:05 +1100
pushed 2017-11-02 16:33 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
0c27448f0b21f75951b0f00e06d4e43426791cad
created 2017-10-11 22:12 +0100
pushed 2017-10-12 19:12 +0000
Jonathan Kew Jonathan Kew - Bug 1405148 - Part 1: Make gfxFontEntry::SupportsOpenTypeFeature a virtual method, and override on MacOS for AAT fonts that we'll shape with Core Text instead of HarfBuzz. r=jrmuizel, a=ritu
3ef47d9eabf7316d890319587a7fb795c89bff92
created 2017-09-11 19:24 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1395061 - patch 4 - Refactor checks in the gfxPlatformFontList::GetFontList loop to use a single virtual method call instead of three separate calls. r=jrmuizel
395a64d67308a9451fd7eadaa6cca0f58ae82470
created 2017-09-11 19:23 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel
f546b44e4549e7ffbf761bbebe57300b22ea48dc
created 2017-09-11 19:22 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1395061 - patch 2 - Implement default gfxFontFamily::IsSymbolFontFamily, and provide override for GDI font backend. r=jrmuizel
72a7f3392c3ce4b47c7133be493315f5068357f0
created 2017-09-11 19:22 +0100
pushed 2017-09-15 00:19 +0000
Myk Melez Myk Melez - Bug 1395061 - patch 1 - Refactor gfxFontEntry::SupportsLangGroup and MatchesGenericFamily into gfxFontFamily. r=jfkthame
146cf615f80da6fea8f6f5ac341624d888a37d0d
created 2017-09-10 08:49 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1398458 - Ensure we don't leave null gfxFontEntry records in a formerly 'simple' gfxFontFamily when adding extra faces. r=heycam
1c70e1ffbbbd5625ea5ce8aabb354f8871b7411e
created 2017-09-08 10:32 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1397238 - Reset the mIsSimpleFamily flag whenever a face is added to a font family, to ensure we will re-check the available faces before making assumptions about face indexes in FindAllFontsForStyle. r=heycam
c31c7c6520240d32ac26741022d89b4f407885a9
created 2017-08-01 11:25 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 835204 - Accept styled font-family names as used in the legacy GDI model, for compatibility with content that assumes GDI-style font naming. r=heycam
19ed20aa5c3e0962b8ed6746660cb6a5a4f14e68
created 2017-08-07 17:27 +0100
pushed 2017-09-15 00:19 +0000
Jonathan Kew Jonathan Kew - Bug 1388059 - Ignore font size tolerance when selecting faces from a font family during global fallback. r=lsalzman
d7d6193f31a35c82d54877de472e293112713d67
created 2017-06-29 15:37 -0700
pushed 2017-08-02 08:25 +0000
Jonathan Kew Jonathan Kew - Bug 1364224 - Reduce refcount churn on gfxFont by using raw pointers where no strong ownership is needed. r=jrmuizel
dc7327ab555ab30167e81d9201c046ca8baf797f
created 2017-06-01 15:42 +0100
pushed 2017-06-12 13:08 +0000
Jonathan Kew Jonathan Kew - Bug 1364089 - Eliminate some unnecessary virtual calls in gfxFont-related code. r=jrmuizel
bbf16eb4f821b2d535826141f9f33f3eb49a54c6
created 2017-05-18 22:03 +0200
pushed 2017-06-12 13:08 +0000
cku cku - Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
8cff37651ea2a096d5304b11bd13359f8d117174
created 2017-05-18 21:15 +0200
pushed 2017-06-12 13:08 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset f3460d42d23c (bug 1351440)
f3460d42d23cb21093146a2ace98009d581bd77a
created 2017-05-05 17:19 +0800
pushed 2017-06-12 13:08 +0000
cku cku - Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
4d87363051a3101ac41a91583a587c7dc6194346
created 2017-04-07 15:49 -0700
pushed 2017-06-12 13:08 +0000
Manish Goregaokar Manish Goregaokar - Bug 1341724 - Part 4: stylo: Make font metrics usage threadsafe; r=heycam
42dc8787a005b5fc95bd6bf19c49497ec6025a50
created 2017-04-06 17:41 -0400
pushed 2017-06-12 13:08 +0000
Lee Salzman Lee Salzman - Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
8664b8d321f781dae04b7b1cc1a1164ec1112f34
created 2017-03-29 13:47 -0400
pushed 2017-04-06 11:16 +0000
Lee Salzman Lee Salzman - Bug 1350783 - Support bitmaps fonts in gfxFcPlatformFontList. r=jfkthame, a=lizzard
3898797a6267e6d0f84049258e261e207fafd4e5
created 2016-11-02 11:47 -0700
pushed 2017-01-23 14:19 +0000
Frédéric Wang Frédéric Wang - Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame
less more (0) -60 tip