gfx/thebes/gfxFontEntry.cpp
fa5724780fe76d6ccbbd08d978342a1db6a43d49
created 2018-06-03 21:33 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1466332 - patch 3 - Update StyleDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt
68e78883a0312d5e1be05b8c2319b33653640467
created 2018-06-03 21:33 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1466332 - patch 2 - Update WeightDistance function to more closely follow CSS4 Fonts algorithm. r=jwatt
b33f95eb174a4acb571400a187359b8f7a1c6d01
created 2018-06-03 21:33 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1466332 - patch 1 - Update StretchDistance function to more closely follow CSS4 Fonts algorithm. 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
315a0483bab2cc51be304b36508ad4860bfffe38
created 2018-05-29 20:24 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1464904 - When font-variations support is preffed off, do not set up variation ranges in the gfxFontEntry for a system font, so that font selection will rely only on the static properties of the faces. r=lsalzman
8e214255e32f003c20eda809d2e1bdc50b3b251a
created 2018-05-15 15:37 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1458301 followup #2, also use explicit namespace for std::isinf. r=preemptive bustage fix on CLOSED TREE
aad9816c24f841e8880acfd5deaab6bdb807bf4e
created 2018-05-15 15:32 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1458301 followup, use explicit namespace for std::isfinite to fix build failure on some platforms. r=bustage fix on CLOSED TREE
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
511276b31ce98345ef13b485700b986817735f57
created 2018-05-08 20:54 +0100
pushed 2018-06-18 21:43 +0000
Jonathan Kew Jonathan Kew - Bug 1458003 - speculative fix: make a local copy of the face list in CheckForLegacyFamilyNames, in case mAvailableFonts is mutated during this function. r=lsalzman
8735fe57245edec03c7a99b82626e57f9a4997bd
created 2018-05-29 20:24 +0100
pushed 2018-05-30 18:31 +0000
Jonathan Kew Jonathan Kew - Bug 1464904 - When font-variations support is preffed off, do not set up variation ranges in the gfxFontEntry for a system font, so that font selection will rely only on the static properties of the faces. r=lsalzman, a=RyanVM
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
f7fcc3bea1391e344f0539810b212d8b51a050eb
created 2018-05-04 17:35 +0100
pushed 2018-05-06 20:01 +0000
Jonathan Kew Jonathan Kew - Bug 1459163 - When variation fonts are disabled, gfxFontEntry::GetVariationsForStyle should just return without attempting to map CSS properties to variation axes. 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
7faed86e281517ca8edee7adcac488a81d90433e
created 2018-05-01 15:56 +0100
pushed 2018-05-03 15:28 +0000
Jonathan Kew Jonathan Kew - Bug 1458158 - Correct the weight-difference factor in CalcStyleMatch to favor closer weights, not further ones. 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
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
2e9eda40f4770cc1fd2a2aa2263c1020445ef636
created 2018-04-25 14:03 +0100
pushed 2018-04-26 21:04 +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-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
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
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-26 21:04 +0000
Sebastian Hengst Sebastian Hengst - Backed out 4 changesets (bug 525063) on request from Andi. a=backout
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-26 21:04 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
e7478c64d4d9cef3ebe48d1f64c87b2bf39530f1
created 2018-04-09 10:39 +0100
pushed 2018-04-26 21:04 +0000
Jonathan Watt Jonathan Watt - Bug 1452466 - Get rid of gfxFontStyle::ComputeWeight. r=jfkthame
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
d76b88de07ca4fff02828d24db2dbce6e4f3d7e4
created 2018-01-19 10:46 +0000
pushed 2018-01-21 14:49 +0000
Jonathan Kew Jonathan Kew - Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato
2648e1488e607d5f91e86008b6bbe9ca5d6a4e76
created 2018-01-19 17:56 +0200
pushed 2018-01-21 14:49 +0000
shindli shindli - Backed out changeset 33571130ef67 (bug 1431305) for failing in /text-orientation-mixed-vlr-100-ref.html on a CLOSED TREE
33571130ef67d4d9105dae116fd469dcdf6e0fd9
created 2018-01-19 10:46 +0000
pushed 2018-01-21 14:49 +0000
Jonathan Kew Jonathan Kew - Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato
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
bc9f0c180867056ad56661dcb752458c51fd7050
created 2017-10-28 13:21 +0100
pushed 2017-11-02 16:33 +0000
Jonathan Kew Jonathan Kew - Bug 1407114 - part 2 - Handle fallback from styled to regular face if necessary during global font fallback, to handle cases where some styled faces may have a reduced character repertoire. 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
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
e21a77cab74059d05ab1b4aa2c2c306cdc83d752
created 2017-07-05 11:18 -0400
pushed 2017-08-02 08:25 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel
d46d1d8506ad2e87db24da457da24722810a3e1b
created 2017-07-05 02:01 +0200
pushed 2017-08-02 08:25 +0000
Mats Palmgren Mats Palmgren - Bug 1376498 part 2 - Use plain Remove(key) in some places instead of Lookup(key).Remove() for simplicity. r=froydnj
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
4035cabd70eeea4ab38bfeada4301f76dca6509b
created 2017-06-28 01:03 +0200
pushed 2017-08-02 08:25 +0000
Mats Palmgren Mats Palmgren - Bug 1376463 - Use Lookup instead of Get+Remove to avoid unnecessary hashtable lookups. r=froydnj
eaaf2913c680334b0426a93b7c27b0280f2a7f67
created 2015-04-03 21:39 +0200
pushed 2017-06-12 13:08 +0000
Jonathan Kew Jonathan Kew - Bug 734008 - DeCOMtaminate nsILanguageAtomService, make it a non-refcounted singleton and clean up various call sites. r=m_kato
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
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
773aed2f801b27cbad3c031fc7aa747ea9b2c1ed
created 2016-11-02 11:45 -0700
pushed 2017-01-23 14:19 +0000
Wes Kocher Wes Kocher - Backed out changeset 961a84574836 (bug 1305977) for multiscripts-1.html failures a=backout
961a845748368c2d51a4c3fc97c55525e8cb7091
created 2016-10-31 04:18 +0100
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
ca3ca7a3befafc0c9eb189a9d08f305e368308c8
created 2016-09-27 01:48 +0100
pushed 2017-01-23 14:19 +0000
Jonathan Kew Jonathan Kew - Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel
b0bc3eb907aecc98f6a5d2e9bd02d6535b0a2b00
created 2016-09-26 18:37 -0700
pushed 2017-01-23 14:19 +0000
Phil Ringnalda Phil Ringnalda - Backed out changeset 66b8ea362db8 (bug 1304699) for build bustage
5449a205760480c1a0c41f521fe2ab6c752053a8
created 2016-09-27 01:48 +0100
pushed 2016-11-14 12:26 +0000
Jonathan Kew Jonathan Kew - Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel a=ritu
55ebbaf43802424222ccb64847c7a4facd2630d7
created 2016-08-23 11:24 -0400
pushed 2016-11-14 12:26 +0000
Jinank Jain Jinank Jain - Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
8a9e11afaeac8f80141daa235931da561d97d6c4
created 2016-08-19 13:57 +0100
pushed 2016-11-14 12:26 +0000
Jonathan Kew Jonathan Kew - Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk
less more (0) -100 -60 tip