gfx/thebes/gfxGDIFont.cpp
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
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
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
9729ef707094c5f44e49ed648ba5a5a8045b95ad
created 2018-04-26 12:46 +0100
pushed 2018-06-18 21:12 +0000
Jonathan Watt Jonathan Watt - Bug 1458218 - Rename gfxGDIFont::mNeedsBold to mNeedsSyntheticBold. r=jfkthame
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
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
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.
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
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
0ceabd10aac2272e83850e278c7876f32dbae42e
created 2018-04-16 20:26 +0100
pushed 2018-06-18 21:12 +0000
Jonathan Kew Jonathan Kew - Bug 1436048 part 2 - Store FontWeight as a fixed-point value to support fractional font-weight values. 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
0649658ddeb253b8d05bb1b396d49035a197be3c
created 2017-12-19 15:48 -0500
pushed 2018-03-01 12:45 +0000
Milan Sreckovic Milan Sreckovic - Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten
2ba4e83dbd7d057df749b6af4930ca98cba9167d
created 2017-11-23 19:38 +0000
pushed 2018-03-01 12:45 +0000
Jonathan Kew Jonathan Kew - Bug 1419615 - Remove old synthetic-italic support from the GDI font code, so we don't double-slant text now that we have generic support in gfxFont. r=lsalzman
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
b1f2be9ad554279190fd751e8252330b912ecffb
created 2017-08-07 16:20 -0400
pushed 2017-11-02 12:36 +0000
Lee Salzman Lee Salzman - Bug 1385029 - require implementation of gfxFont::GetScaledFont and remove unnecessary gfxPlatform::GetScaledFontForFont. r=jfkthame
ed010b85ea12896dd62015ae399e22d700f998e9
created 2017-05-04 22:27 +0100
pushed 2017-07-31 14:08 +0000
Jonathan Kew Jonathan Kew - Bug 1362167 - Use strongly-typed enum classes instead of generic uint16_t fields for the gfxShapedText and gfxTextRun flags. r=jrmuizel
fdf453f66c9c384768d7a8d92f129c1328886096
created 2017-04-03 17:49 +0100
pushed 2017-07-31 14:08 +0000
Jonathan Kew Jonathan Kew - Bug 1352528 - Hoist call to GetRoundOffsetsToPixels out of the inner loop of text shaping. r=jrmuizel
42dc8787a005b5fc95bd6bf19c49497ec6025a50
created 2017-04-06 17:41 -0400
pushed 2017-07-31 14:08 +0000
Lee Salzman Lee Salzman - Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
f3f3c165c484be50ca4e5c47946e9c9b56884b98
created 2017-01-29 11:46 +0900
pushed 2017-06-05 19:31 +0000
Masatoshi Kimura Masatoshi Kimura - Bug 1334860 - Remove WinXP-only ClearType prefs. r=jfkthame
7177f9bb9d9392fbddddf61beb951cffd0f7013d
created 2017-01-09 09:41 -0800
pushed 2017-04-10 20:44 +0000
Daniel Holbert Daniel Holbert - Bug 1329670: Change gfxFont::CopyWithAntialiasOption to return UniquePtr instead of raw pointer. r=jfkthame
8117e133c5884b8f1bb2c2786db7b112f3e8260a
created 2016-11-14 13:42 +0000
pushed 2017-01-16 13:07 +0000
Jonathan Kew Jonathan Kew - Bug 1316262 - Guard against failure applying font-size-adjust to tiny font sizes with GDI backend, where metrics round to zero so we cannot compute aspect ratio. r=mchang a=gchang
e182a8cc0ed9a61cdf3546f2f175916e2d5aa2c4
created 2016-08-22 21:39 +0100
pushed 2017-01-16 13:07 +0000
Jonathan Kew Jonathan Kew - Bug 1296742 - Initialize gfxGDIFont's metrics at construction time, like other platform font subclasses, and remove its no-longer-needed support for init-on-first-use pattern. r=jrmuizel
d12e64e97af262eb9aa268c902fc4e66be04588a
created 2016-08-18 17:43 +0800
pushed 2017-01-16 13:07 +0000
Jeremy Chen Jeremy Chen - Bug 1293210 - get cap height from GDI backend. r=jfkthame
9d5d7cd39c456afce308753a1aacb0911a8202a3
created 2016-08-16 15:41 -0700
pushed 2017-01-16 13:07 +0000
Chris Peterson Chris Peterson - Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas
ab8e9e4b893d13748c71c463296840dc356805b9
created 2016-06-27 17:41 +0100
pushed 2016-10-31 18:13 +0000
Jonathan Kew Jonathan Kew - Bug 1282248 - Declare a bunch of gfxTextRun measurement/drawing methods and related helpers as const. r=m_kato
1b2c3cc8c06f7e257a8040c04086a99889356b2d
created 2016-04-21 18:58 +0100
pushed 2016-07-25 16:35 +0000
Jonathan Kew Jonathan Kew - Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
9d396d690080bef8191a1e8525cca2593051b338
created 2016-04-15 20:45 +0100
pushed 2016-07-25 16:35 +0000
Jonathan Kew Jonathan Kew - Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel
290f666471a0177f984f05d5c9933914d2d11443
created 2015-12-15 13:56 -0800
pushed 2016-04-15 21:02 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
7ad3f98c4c65b94b8576eeecd3a6685c13777358
created 2015-12-15 20:10 -0800
pushed 2016-04-15 21:02 +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-04-15 21:02 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232822 (part 1) - Moz2Dify SetupCairoFont(). r=jfkthame.
ef8a998219bd1afa187b51cc84b231f73903f285
created 2015-12-14 22:26 -0800
pushed 2016-04-15 21:02 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1232576 (part 2) - Rename gfxContext::GetCairo() as GetRefCairo() and make it static. r=jfkthame.
11486a275847896bf97beff11d6c07ffea3611e9
created 2015-11-02 08:36 +0000
pushed 2016-02-29 17:11 +0000
Jonathan Kew Jonathan Kew - Bug 691581 - Don't let a zero-sized font result in assertions from FUnitsToDevUnitsFactor(). r=jdaggett
10c908b9b224c43d8dac29fab1c40204cedb7528
created 2015-10-19 11:16 +0900
pushed 2016-01-18 19:06 +0000
John Daggett John Daggett - Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
b57b1467ee6e264edbef5889c14ad6531177f6a3
created 2015-10-18 11:22 -0700
pushed 2016-01-18 19:06 +0000
Phil Ringnalda Phil Ringnalda - Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
bc90276ec09045574ef5c873de99e413407708e6
created 2015-10-18 22:17 +0900
pushed 2016-01-18 19:06 +0000
John Daggett John Daggett - Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
22ca2af337eb2b1d870ba392e1ede85576e98ab5
created 2015-08-10 09:39 +0100
pushed 2015-10-26 12:58 +0000
Jonathan Kew Jonathan Kew - Bug 1105807 - Fall back to GetGlyphIndicesW in gfxGDIFont::GetGlyph if ScriptGetCMap fails, for legacy Type1 fonts. r=jdaggett, a=ritu
909e4b1913a9ce70d5aead33e13261f288d87904
created 2015-07-30 21:19 -0700
pushed 2015-10-26 12:58 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
8bd25ca5e3582bc91ee03350bedd77d4c9cdf655
created 2015-08-10 09:39 +0100
pushed 2015-09-14 18:56 +0000
Jonathan Kew Jonathan Kew - Bug 1105807 - Fall back to GetGlyphIndicesW in gfxGDIFont::GetGlyph if ScriptGetCMap fails, for legacy Type1 fonts. r=jdaggett, a=ritu
c7b9b0f97e3d7a033c86494b380b60226ba24c28
created 2015-06-01 09:13 +0100
pushed 2015-09-14 18:56 +0000
Jonathan Kew Jonathan Kew - Bug 964512 - Check for existence of character before trying to get its metrics in gfxGDIFont::Initialize. r=jdaggett
35ca44343ed8d693eff2e60361b9947fd9f62141
created 2015-05-15 22:30 +0200
pushed 2015-09-14 18:56 +0000
Frédéric Wang Frédéric Wang - Bug 598900 - GDI: use typo metrics when USE_TYPO_METRICS is specified. r=karlt
14ba9a819a10fe19fc47b48c9898ecad369bbb81
created 2015-06-01 09:13 +0100
pushed 2015-08-03 13:22 +0000
Jonathan Kew Jonathan Kew - Bug 964512 - Check for existence of character before trying to get its metrics in gfxGDIFont::Initialize. r=jdaggett, a=sledru
da024a455adc28aa40f6b05eef46dca7b2e45ebf
created 2015-04-20 23:10 -0700
pushed 2015-08-03 13:22 +0000
L. David Baron L. David Baron - Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
d39f67b09a5db237713438877dcc8b983c68b249
created 2014-12-31 22:35 +0000
pushed 2015-03-23 22:08 +0000
Jonathan Kew Jonathan Kew - Bug 1116480 - gfxTextRun::Measure needs to account for fake-italic transform when returning the bounding box. r=roc
6e7cc3499a2e4048a0fbeab6ff910f4cd9cd09ba
created 2014-11-10 21:41 +0000
pushed 2015-02-18 20:30 +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
41551c67ac50090bb36aececfe9d140cf36b080d
created 2014-11-10 21:41 +0000
pushed 2015-02-18 20:30 +0000
Jonathan Watt Jonathan Watt - Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas
916675800e05cad075b60e71f859b61c55d845ad
created 2014-10-16 09:40 +0100
pushed 2015-02-18 20:30 +0000
Jonathan Kew Jonathan Kew - Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu
b5cf9eedcfbd061a3a1e9cd82c25ce0937405c14
created 2014-10-01 20:25 +0100
pushed 2015-01-05 23:23 +0000
Jonathan Kew Jonathan Kew - Bug 902762 pt 1 - Pass a 'vertical' flag to font shapers, and support vertical shaping through harfbuzz. r=jdaggett
acfc96bde64d5944b42994a0f093b8535b23a3d2
created 2014-09-30 07:37 +0100
pushed 2015-01-05 23:23 +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
9528e6149978daae6258705dbcc255906c1dc8dc
created 2014-09-16 10:58 +0100
pushed 2015-01-05 23:23 +0000
Jonathan Kew Jonathan Kew - bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
96a566fa1599b55e019a7172d93a458002300237
created 2014-08-06 06:31 -0700
pushed 2014-11-24 19:04 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
ee3e74ba96a96516a81da83b12307c4515ab01c0
created 2014-05-31 08:12 +0100
pushed 2014-10-06 12:51 +0000
Jonathan Kew Jonathan Kew - bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett
c134a28bc14357b0d6fb45e4308666f61fc21936
created 2014-06-28 15:40 +0900
pushed 2014-10-06 12:51 +0000
John Daggett John Daggett - Bug 1029307 - remove subscript/superscript metrics. r=heycam
75ad9b0537ea0f54868bbc067735c3211493d772
created 2014-06-19 08:08 +0100
pushed 2014-10-06 12:51 +0000
Jonathan Kew Jonathan Kew - bug 871453 - part 2 - support font-synthesis options through the platform-font-list backends. r=jdaggett
c56fcf2542ec4f445eb516b3e1c2c2cecbc1812a
created 2014-06-18 17:46 +0100
pushed 2014-10-06 12:51 +0000
Jonathan Kew Jonathan Kew - bug 1025076 - handle negative glyph advance more sensibly in gfxGDIFont. r=jdaggett
0d90825e1b5182885a52ccde2cf04d85ef21a8a9
created 2014-06-09 16:43 +0100
pushed 2014-10-06 12:51 +0000
Jonathan Kew Jonathan Kew - bug 985220 pt 2 - replace the use of GetGlyphIndicesW with ScriptGetCMap in gfxGDIFont::GetGlyph. r=jdaggett
5bced0023b3a3d5610385b5748ad539798752e31
created 2014-06-09 15:47 +0100
pushed 2014-10-06 12:51 +0000
Jonathan Kew Jonathan Kew - bug 985220 - remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett
5cf33b3e3d5e456df098d213056aff4754653579
created 2014-06-06 22:41 +0100
pushed 2014-08-25 18:42 +0000
Jonathan Kew Jonathan Kew - backout changeset 59b2dd6b5048 (bug 985220) due to MS Sans Serif regression with Thai system locale (see bug 1020826).
0e387a55464687d5a8224c90bb046af46294bceb
created 2014-06-06 22:41 +0100
pushed 2014-08-25 18:42 +0000
Jonathan Kew Jonathan Kew - backout changeset 3e9d9aa535c7 (bug 1018551) due to MS Sans Serif regression with Thai system locale (see bug 1020826).
3e9d9aa535c7e48d9f31c6953e5c62ab1918ae3a
created 2014-05-31 08:12 +0100
pushed 2014-08-25 18:42 +0000
Jonathan Kew Jonathan Kew - bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett on a CLOSED TREE
less more (0) -100 -60 tip