gfx/thebes/gfxFT2FontBase.cpp
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
19828a8dd8ae5ce8d7aa37d57ed607ee3043e49b
created 2018-12-31 11:43 +0000
pushed 2019-01-21 13:03 +0000
Jeff Muizelaar Jeff Muizelaar - Bug 1516677. Remove unused drawtarget parameter. r=jfkthame
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
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
bb3a0360cf74c056cb321634089a482c7c2e7f90
created 2018-06-26 11:30 -0400
pushed 2018-08-24 17:49 +0000
Ryan Hunt Ryan Hunt - Bug 1471261 - Add global locking around FT_Load_Glyph to work around postscript hinter global data. r=lsalzman
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
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
355a6e3f9bede2598878cf723a085b396846fe20
created 2018-05-03 19:43 +1000
pushed 2018-05-06 20:01 +0000
Xidorn Quan Xidorn Quan - Bug 1406552 - Only update max ascent / descent with em ones when ascent and descent are zero. r=jfkthame
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
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
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
55dd9c21061a92756aac436bd1d2bf8eb478bb32
created 2018-03-01 21:41 +0200
pushed 2018-03-03 19:00 +0000
Jonathan Kew Jonathan Kew - Bug 1440938 - Fall back to cairo's glyph metrics API if FreeType fails in some way, or if we're not using a variation font. r=lsalzman, a=RyanVM FIREFOX_59b_RELBRANCH
e3aa74bcd4955d8ed40e184c7daf75e305f56452
created 2018-02-28 22:02 +0000
pushed 2018-03-02 22:13 +0000
Jonathan Kew Jonathan Kew - Bug 1440938 - Fall back to cairo's glyph metrics API if FreeType fails in some way, or if we're not using a variation font. r=lsalzman
773e30e83ce10f75e1c9905aa13f9303a5e2eb08
created 2018-02-14 22:02 +1100
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1435984 - patch 7 - Apply variation settings from the font entry in the gfxFT2Fonts (Android) back-end. r=lsalzman
a89402b9e103a2f113adfe5a75b3f68eab47c3eb
created 2018-02-01 15:28 +0000
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman
3431bb172f288ccbf22873f3a97a5f4cddd0c3fe
created 2018-01-29 13:24 +0000
pushed 2018-03-01 16:46 +0000
Jonathan Kew Jonathan Kew - Bug 1433402 - Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel
b54898c488ddb7687cbda2bfc01cac1087837f35
created 2018-01-23 18:16 +0000
pushed 2018-01-31 10:54 +0000
Jonathan Kew Jonathan Kew - Bug 1430446 - Prefer hinted glyph widths from FreeType, except when hinting is disabled or the font includes variations. r=lsalzman a=lizzard
b976970749f3dec74c548fc42ac61e535027bb7b
created 2018-01-15 16:36 +0000
pushed 2018-01-16 14:33 +0000
Jonathan Kew Jonathan Kew - Bug 1430552 - Handle possible freetype failures in gfxFT2FontBase::GetFTGlyphAdvance to avoid risk of crashes. r=lsalzman
7f9d938235e76b24ac6e169e79b4534b4315bb49
created 2018-01-13 15:16 +0000
pushed 2018-01-16 14:33 +0000
Jonathan Kew Jonathan Kew - Bug 1430216 - For non-scalable fonts, we can't use the linearHoriAdvance field from the glyph slot; use the advance field instead to get proper metrics. r=lsalzman
56f88b76d0fd6b0b207de727891610132e9a67a4
created 2018-01-09 17:36 +0000
pushed 2018-01-12 02:17 +0000
Jonathan Kew Jonathan Kew - Bug 1428826 - Don't rely on FT_Get_Advance for glyph widths, get the advance from the glyph slot instead for better consistency with cairo metrics & rendering; update test expectations for minor changes in rendering. r=lsalzman
a85c5795cc6f0db71e13288e849ef47b2f225270
created 2018-01-02 13:29 +0000
pushed 2018-01-11 21:05 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 8 - Refactor gfxFT2FontBase glyph-width code so that we properly respect variations when getting character widths during InitMetrics. r=lsalzman
944248bbe7adaaf6eea61d22d163309fd99057a7
created 2018-01-02 13:29 +0000
pushed 2018-01-11 21:05 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 7 - Work around buggy FreeType metrics APIs when using variation fonts with FT versions prior to 2.8.2. r=lsalzman
54896137200d457c307690840e1efa02b7567466
created 2017-12-07 13:22 +0000
pushed 2018-01-11 21:05 +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
1070a455ef173c643fa398a15e0033ea491a0bdd
created 2017-12-06 14:42 +0000
pushed 2018-01-11 21:05 +0000
Jonathan Kew Jonathan Kew - Bug 1427641 - patch 2 - Convert variation values into FreeType's data type, and apply them to the FT_Face. r=lsalzman
f9033e71d7284bcaaf1b831e7b5b879be59f60ad
created 2017-12-06 13:51 +0000
pushed 2018-01-11 21:05 +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
24c8d3ee219f1aa582a16fb702c0e6376297fe1c
created 2017-08-07 16:20 -0400
pushed 2017-09-15 00:19 +0000
Lee Salzman Lee Salzman - Bug 1385029 - remove redundant CairoScaledFont accessor from gfxFont subclasses. r=jfkthame
312e9e393fd30569fb1cdc3f40a9e9f926794a14
created 2017-07-26 23:24 -0400
pushed 2017-08-02 08:25 +0000
Lee Salzman Lee Salzman - Bug 1383767 - remove cases of recursive locking of FreeType inside thebes. r=jfkthame
0d0907bce507ce4d505f6626fefdeea757bb0584
created 2017-07-27 08:19 +0200
pushed 2017-08-02 08:25 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset cecd14ecca85 (bug 1383767)
cecd14ecca8553466fdbd1c40af6d86dd24f5b36
created 2017-07-26 23:24 -0400
pushed 2017-08-02 08:25 +0000
Lee Salzman Lee Salzman - Bug 1383767 - remove cases of recursive locking of FreeType inside thebes. r=jfkthame
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
c841cbb3bee8b7c7fb1221e5d726616085b704cc
created 2016-06-07 20:29 +0100
pushed 2016-09-19 13:38 +0000
Jonathan Kew Jonathan Kew - Bug 1278614 - Update the freetype-based GetGlyph method to conform to the expectations of the HarfBuzz callbacks, returning 0 for unsupported <Base, Variation-Selector> sequences instead of automatically returning the default mapping and ignoring the VS. r=karlt
7ad3f98c4c65b94b8576eeecd3a6685c13777358
created 2015-12-15 20:10 -0800
pushed 2016-03-07 14:18 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232822 (part 6) - Move RefCairo() from gfxContext to gfxFont. r=jfkthame.
9ad2588ed167f967de511e3858626fbb227f8ba3
created 2015-12-15 13:56 -0800
pushed 2016-03-07 14:18 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232822 (part 1) - Moz2Dify SetupCairoFont(). r=jfkthame.
ef8a998219bd1afa187b51cc84b231f73903f285
created 2015-12-14 22:26 -0800
pushed 2016-03-07 14:18 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232576 (part 2) - Rename gfxContext::GetCairo() as GetRefCairo() and make it static. r=jfkthame.
da650be00ba7a367ef1b9fbeb710edf54dde4306
created 2015-12-14 22:23 -0800
pushed 2016-03-07 14:18 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232576 (part 1) - Move the reference |cairo_t*| from gfxContext to DrawTarget (as user data). r=jfkthame.
da024a455adc28aa40f6b05eef46dca7b2e45ebf
created 2015-04-20 23:10 -0700
pushed 2015-06-29 20:18 +0000
L. David Baron L. David Baron - Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
953dbdb984be9537822d9db51b42e4ee4be8bf14
created 2014-11-19 22:41 +1300
pushed 2015-03-30 18:32 +0000
Robert O'Callahan Robert O'Callahan - Bug 1099977. Part 1.5: Make gfxFT2FontBase::GetSpaceGlyph work for zero-sized fonts. r=jfkthame
e5e4ceeb399a1f7f62dec157941b94142beb9eba
created 2015-01-07 23:42 +0000
pushed 2015-02-23 15:17 +0000
Jonathan Kew Jonathan Kew - Bug 1118943 - Ensure mFUnitsConvFactor is set up properly for vertical fonts in the FT2 backend. r=smontagu
8216327b0a297d858cf34919e6335e73d172698c
created 2014-12-10 13:09 +0900
pushed 2015-02-23 15:17 +0000
John Daggett John Daggett - Bug 1109403 - trim out unused Azure FontOptions struct. r=m_kato
6e7cc3499a2e4048a0fbeab6ff910f4cd9cd09ba
created 2014-11-10 21:41 +0000
pushed 2015-01-12 19:37 +0000
Jonathan Watt Jonathan Watt - Bug 1093811 - Convert the gfxFont::GetGlyphWidth() virtual method to take a Moz2D DrawTarget instead of a Thebes gfxContext. r=jfkthame
acfc96bde64d5944b42994a0f093b8535b23a3d2
created 2014-09-30 07:37 +0100
pushed 2014-11-28 15:29 +0000
Jonathan Kew Jonathan Kew - Bug 1065002 pt 1.1 - Rename gfxFont::GetMetrics to GetHorizontalMetrics, and add a GetMetrics wrapper to access it. r=jdaggett
c134a28bc14357b0d6fb45e4308666f61fc21936
created 2014-06-28 15:40 +0900
pushed 2014-09-02 16:39 +0000
John Daggett John Daggett - Bug 1029307 - remove subscript/superscript metrics. r=heycam
39bcb94e9b85bb72ea926dd359f057df5e086ac0
created 2014-04-23 06:57 -0700
pushed 2014-06-09 21:49 +0000
Frédéric Wang Frédéric Wang - Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame
545be53282356aa16b87a27c5e19457344a84f13
created 2014-04-22 11:00 -0400
pushed 2014-06-09 21:49 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out 5 changesets (bug 407059) for reftest asserts.
c940a2d399c435c2786db1cb740a15b0fe289711
created 2014-04-22 08:44 -0400
pushed 2014-06-09 21:49 +0000
Frédéric Wang Frédéric Wang - Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame
9d08e98cc18c7215e9a283e24f8b9cbbce0ab170
created 2014-04-01 02:30 +0900
pushed 2014-06-09 21:49 +0000
Masatoshi Kimura Masatoshi Kimura - Bug 989557 - Implement a fallback for CJK Compatibility Ideographs Standardized Variants. r=jfkthame
a605e6378301c38ce4ee81260cc5b6c9779161b5
created 2014-01-10 14:06 -0500
pushed 2014-03-17 21:55 +0000
Benoit Jacob Benoit Jacob - Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
47b5355992adc942e1a059c572703becc40bcdb0
created 2013-10-07 19:15 -0400
pushed 2013-12-09 19:58 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
ac758cadd0341af4ea6a8e9763cf6b668a677734
created 2013-07-31 11:44 -0400
pushed 2013-09-16 19:14 +0000
Birunthan Mohanathas Birunthan Mohanathas - Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
9aee5481871596c76337edb81e0fd1a568851a9e
created 2013-05-16 17:29 +0100
pushed 2013-08-05 18:49 +0000
Jonathan Kew Jonathan Kew - bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc
370a2c56b7934ceb7fd6c978c6d0500fa01d5d48
created 2013-05-19 20:22 +0200
pushed 2013-08-05 18:49 +0000
Ms2ger Ms2ger - Backout changeset 0a6d36fc3749 for conflicting with the backout of bug 549861.
0a6d36fc3749bc0161899fe74fb97cb4de66fc4c
created 2013-05-16 17:32 +0100
pushed 2013-08-05 18:49 +0000
Jonathan Kew Jonathan Kew - bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc
7bd96dda75f03267736c8e628995c0481014a139
created 2012-10-26 15:32 +0200
pushed 2013-01-07 21:25 +0000
Jacek Szpot Jacek Szpot - Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
c4f83d9d8243f3f853a5356188164a5fddee2b5a
created 2012-08-22 16:09 -0700
pushed 2012-11-19 21:10 +0000
David Anderson David Anderson - Merge from mozilla-central.
less more (0) -60 tip