gecko-dev/gfx/2d
Bas Schouten 47b62ee88c Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang
This patch makes sure content processes update their cleartype settings, as well as making sure Moz2D's idea of the ClearType settings are in sync with those of Thebes. If the two differ this can cause graphical glitches.

MozReview-Commit-ID: 94arUnBWoUy

--HG--
extra : rebase_source : d74b702fc63c019ce1c30bdc741ea3ed6da457cd
2017-01-04 20:26:17 +01:00
..
unittest
2D.h Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang 2017-01-04 20:26:17 +01:00
AutoHelpersWin.h Bug 1156742 Part 19: Implement GetFontFileData for ScaledFontWin. r=bas 2016-01-05 10:08:58 +00:00
BaseCoord.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
BaseMargin.h Bug 1277814 - Add printing support to BaseMargin. r=kats 2016-06-03 17:23:40 -04:00
BasePoint.h Bug 1305201 - Have BasePoint::Length return a Coord instead of a raw type. r=botond 2016-09-26 15:34:36 -04:00
BasePoint3D.h Bug 1276066 - Add Union with "components" member to math classes to enable array access to members. r=bas 2016-04-18 12:12:36 -07:00
BasePoint4D.h Bug 1276066 - Add Union with "components" member to math classes to enable array access to members. r=bas 2016-04-18 12:12:36 -07:00
BaseRect.h Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats 2017-01-05 17:07:07 +08:00
BaseSize.h Bug 1321412 - Add an operator<< to BaseSize. r=kats 2016-11-25 20:46:58 -05:00
BezierUtils.cpp Bug 1320014 Part 3 - Move Corner from namespace mozilla::css into mozilla. r=mats 2017-01-04 17:18:49 +08:00
BezierUtils.h Bug 1320014 Part 3 - Move Corner from namespace mozilla::css into mozilla. r=mats 2017-01-04 17:18:49 +08:00
BigEndianInts.h Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj 2016-05-22 13:31:11 -07:00
Blur.cpp Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas 2016-11-21 13:17:43 -05:00
Blur.h Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang 2016-11-21 13:17:09 -05:00
BlurLS3.cpp
BlurNEON.cpp
BlurSSE2.cpp
BorrowedContext.h Bug 1319374. Fix --disable-skia builds. r=lsalzman 2016-11-30 10:13:54 -08:00
CGTextDrawing.h Bug 1320743 - Delete PathCG. r=lsalzman 2016-11-30 11:12:51 -08:00
Coord.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
CriticalSection.h
DataSourceSurface.cpp
DataSourceSurfaceWrapper.h
DataSurfaceHelpers.cpp Bug 1299164: Part 1. Add BufferSizeFromDimensions method to complement BufferSizeFromStrideAndHeight. r=bas 2016-09-15 10:36:20 -04:00
DataSurfaceHelpers.h Bug 1299164: Part 1. Add BufferSizeFromDimensions method to complement BufferSizeFromStrideAndHeight. r=bas 2016-09-15 10:36:20 -04:00
DrawCommand.h Bug 1317862 - Part 2: Add a way to query DT recordings for Glyphs. r=Bas 2016-11-24 18:11:29 +13:00
DrawEventRecorder.cpp Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj, r=jimm 2016-11-22 14:06:46 +00:00
DrawEventRecorder.h Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj, r=jimm 2016-11-22 14:06:46 +00:00
DrawTarget.cpp Bug 1029705 - allow clipping to a list of device-space rectangles (a region) in DrawTarget via PushDeviceSpaceClipRects. r=bas 2016-09-21 17:03:20 -04:00
DrawTargetCairo.cpp Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang 2016-11-21 13:17:09 -05:00
DrawTargetCairo.h Bug 1297178 - disable explicit subpixel AA when not permitted in DrawTargetCairo::FillGlyphs. r=jrmuizel 2016-08-26 15:28:28 -04:00
DrawTargetCapture.cpp Bug 1317862 - Part 2: Add a way to query DT recordings for Glyphs. r=Bas 2016-11-24 18:11:29 +13:00
DrawTargetCapture.h Bug 1317862 - Part 2: Add a way to query DT recordings for Glyphs. r=Bas 2016-11-24 18:11:29 +13:00
DrawTargetD2D1.cpp Bug 1331274: aPath coming into Fill method may not be valid. r=kechen 2017-01-16 13:21:36 -05:00
DrawTargetD2D1.h Bug 1300338: Do not attempt to preserve layer content when we're going to override it in a blend operation anyway. r=jrmuizel 2016-09-12 18:41:10 +02:00
DrawTargetDual.cpp Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-07-01 10:58:13 +02:00
DrawTargetDual.h Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-07-01 10:58:13 +02:00
DrawTargetRecording.cpp Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt 2016-12-22 11:11:15 -08:00
DrawTargetRecording.h Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt 2016-12-22 11:11:15 -08:00
DrawTargetSkia.cpp Bug 1331274: aPath coming into Fill method may not be valid. r=kechen 2017-01-16 13:21:36 -05:00
DrawTargetSkia.h Bug 1322729 - fix DrawTargetTiled::PushLayer to properly handle clipping. r=mchang 2016-12-16 11:02:04 -05:00
DrawTargetTiled.cpp Bug 1324422 - initialize mPermitSubpixelAA for all tiles in DrawTargetTiled. r=sotaro 2016-12-19 21:12:07 -05:00
DrawTargetTiled.h Bug 1322729 - fix DrawTargetTiled to forward SetPermitSubpixelAA. r=mchang 2016-12-16 11:02:04 -05:00
DrawingJob.cpp
DrawingJob.h
ExtendInputEffectD2D1.cpp Bug 1222569 - remove unused const variables from ExtendInputEffectD2D1.cpp; r=Bas 2015-11-06 15:08:29 -05:00
ExtendInputEffectD2D1.h
Factory.cpp Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang 2017-01-04 20:26:17 +01:00
FilterNodeD2D1.cpp Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
FilterNodeD2D1.h Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan 2016-12-16 15:54:32 +08:00
FilterNodeSoftware.cpp Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
FilterNodeSoftware.h Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
FilterProcessing.cpp
FilterProcessing.h
FilterProcessingSIMD-inl.h Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang 2016-05-13 16:34:41 -04:00
FilterProcessingSSE2.cpp
FilterProcessingScalar.cpp
Filters.h Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang 2016-05-13 16:34:41 -04:00
GenericRefCounted.h
GradientStopsD2D.h
Helpers.h
HelpersCairo.h Bug 1316750, part 2 - Add CairoContentToCairoFormat helper to HelpersCairo.h. r=edwin 2016-11-15 23:09:49 +00:00
HelpersD2D.h Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan 2016-12-16 15:54:32 +08:00
HelpersSkia.h Bug 1316654 - Fix the DrawTargetSkia::CreateSimilarDrawTarget check for non-raster backed SkCanvas to avoid false positives. r=lsalzman 2016-12-22 01:35:22 +00:00
HelpersWinFonts.h Bug 1325743: Cache Moz2D ClearType usage information in a way similar to Thebes. r=mchang 2017-01-04 20:26:17 +01:00
ImageScaling.cpp Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
ImageScaling.h
ImageScalingSSE2.cpp
InlineTranslator.cpp Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt 2016-12-22 11:11:15 -08:00
InlineTranslator.h Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt 2016-12-22 11:11:15 -08:00
IterableArena.h Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang 2016-05-13 16:34:41 -04:00
JobScheduler.cpp Bug 1244234 - Simplify joining jobs with the gfx job scheduler. r=jrmuizel 2016-02-23 19:15:30 +01:00
JobScheduler.h Bug 1244234 - Simplify joining jobs with the gfx job scheduler. r=jrmuizel 2016-02-23 19:15:30 +01:00
JobScheduler_posix.cpp Bug 1317637 - Use C++11's override and remove virtual where applicable in gfx/. r=jrmuizel 2016-11-15 11:16:29 +02:00
JobScheduler_posix.h Bug 1233743 - Remove the Mutex typedef from gfx/2d. r=vlad 2016-03-21 15:34:50 +01:00
JobScheduler_win32.cpp Bug 1239288 - Fix a race in the win32 job scheduler's shutdown. r=jrmuizel 2016-01-19 09:48:51 +01:00
JobScheduler_win32.h
Logging.h Bug 1321522: Add null check and logging on fontResource in RecordedScaledFontCreation::PlayEvent. r=milan 2016-12-15 10:55:10 +00:00
LoggingConstants.h Remove PreferenceAccess. (bug 1280822 part 3, r=milan) 2016-06-26 23:33:18 -07:00
MMIHelpers.h
MacIOSurface.cpp Bug 1317637 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in gfx/. r=jrmuizel 2016-11-15 11:00:08 +02:00
MacIOSurface.h Bug 1261166 - Add the ability to use IOSurface instead of texture upload on OS X. r=nical,mattwoodrow 2016-06-27 11:25:13 -04:00
Matrix.cpp Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Matrix.h Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel 2016-10-07 10:58:13 -07:00
MatrixFwd.h Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas 2015-12-02 18:52:00 -05:00
NativeFontResourceDWrite.cpp Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceDWrite.h Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceFontconfig.cpp Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceFontconfig.h Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceGDI.cpp Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceGDI.h Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
NativeFontResourceMac.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
NativeFontResourceMac.h Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
NumericTools.h
Path.cpp Bug 1294969 - Path flattening should not skip the first inflection point if it is at t=0.0. r=Bas 2016-08-16 15:42:57 +02:00
PathAnalysis.h
PathCairo.cpp Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
PathCairo.h Bug 1245845, part 1 - Stop Moz2D Path::CopyToBuilder/TransformedCopyToBuilder implicitly converting the Path's FillRule. r=Bas 2016-02-08 02:15:54 +00:00
PathD2D.cpp Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan 2016-12-16 15:54:32 +08:00
PathD2D.h Bug 1266209 - check if a figure is active in PathBuilderD2D before copying glyphs to it. r=bas 2016-05-17 12:47:22 -04:00
PathHelpers.cpp Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats 2017-01-05 17:07:07 +08:00
PathHelpers.h Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats 2017-01-05 17:07:07 +08:00
PathRecording.cpp Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
PathRecording.h Bug 1319456: Hold DrawEventRecorders in the correct structure in PathRecording. r=bas 2016-12-09 02:25:50 +00:00
PathSkia.cpp Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
PathSkia.h Bug 1245845, part 1 - Stop Moz2D Path::CopyToBuilder/TransformedCopyToBuilder implicitly converting the Path's FillRule. r=Bas 2016-02-08 02:15:54 +00:00
PatternHelpers.h Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
Point.h Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats 2016-11-23 19:26:55 -05:00
Polygon.h Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip 2016-12-04 17:49:32 +01:00
QuartzSupport.h
QuartzSupport.mm Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07:00
Quaternion.cpp
Quaternion.h Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas 2015-12-02 18:52:00 -05:00
RadialGradientEffectD2D1.cpp Bug 1256552 - fix int-to-float conversions in RadialGradientEffectD2D1. r=jrmuizel 2016-03-21 16:17:16 -04:00
RadialGradientEffectD2D1.h
RecordedEvent.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
RecordedEvent.h Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
RecordingTypes.h
Rect.h Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
SFNTData.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
SFNTData.h Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
SFNTNameTable.cpp Bug 1228022 - part 2 - Add support for reading Mac OS Roman encoded names from SFNTNameTables; r=jfkthame 2016-09-09 13:55:21 -07:00
SFNTNameTable.h Bug 1320752 - remove mozilla/Function.h; r=gerald 2016-11-28 11:03:53 -05:00
SIMD.h
SSEHelpers.h
SVGTurbulenceRenderer-inl.h
Scale.cpp Bug 1240177 - part 1 - add helper function to make Skia image info, r=jrmuizel 2016-01-21 09:50:43 -05:00
Scale.h
ScaleFactor.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
ScaleFactors2D.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
ScaledFontBase.cpp Bug 1308394 - In CopyGlyphsToBuilder, use PathBuilder's backend instead of DrawTarget's. r=bas 2016-10-26 19:46:00 +02:00
ScaledFontBase.h Bug 1308394 - In CopyGlyphsToBuilder, use PathBuilder's backend instead of DrawTarget's. r=bas 2016-10-26 19:46:00 +02:00
ScaledFontCairo.cpp Bug 1287552 - part 4 - add ScaledFontFontconfig to remember generating FcPattern. r=jrmuizel 2016-07-20 15:07:11 -04:00
ScaledFontCairo.h Bug 1287552 - part 4 - add ScaledFontFontconfig to remember generating FcPattern. r=jrmuizel 2016-07-20 15:07:11 -04:00
ScaledFontDWrite.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
ScaledFontDWrite.h Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan 2016-12-16 15:54:32 +08:00
ScaledFontFontconfig.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
ScaledFontFontconfig.h Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
ScaledFontMac.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
ScaledFontMac.h Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
ScaledFontWin.cpp Bug 1321031 pt 6 - Include variation settings in moz2d recording stream when using the native Mac font backend. r=bas,jrmuizel 2017-01-06 16:35:12 +00:00
ScaledFontWin.h Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
ShadersD2D.fx
ShadersD2D.h
ShadersD2D1.h
ShadersD2D1.hlsl
SourceSurfaceCairo.cpp Bug 1260885 - Make SurfaceFormat::R5G6B5_UINT16 properly round-trip through SourceSurfaceCairo. r=lsalzman 2016-04-07 16:40:15 -04:00
SourceSurfaceCairo.h
SourceSurfaceD2D1.cpp Bug 1265598: Deal with the possibility of a write map failing. r=kaku r=milan 2016-04-28 13:22:32 +00:00
SourceSurfaceD2D1.h
SourceSurfaceDual.h
SourceSurfaceRawData.cpp Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
SourceSurfaceRawData.h Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
SourceSurfaceSkia.cpp Bug 1323821 - only replace texture-backed SkImage on success in SourceSurfaceSkia::GetData. r=jrmuizel 2016-12-20 12:37:19 -05:00
SourceSurfaceSkia.h Bug 1317430 - Avoid a unnecessary copy by passing a const & in gfx/ r=nical 2016-11-14 23:16:18 +01:00
StackArray.h Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan 2016-12-16 15:54:32 +08:00
Tools.h Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas 2016-08-25 13:57:39 -04:00
Triangle.h Bug 1286412 - Implement polygon clipping and triangulation. r=kip 2016-10-03 16:35:52 -07:00
Types.h Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats 2017-01-05 17:07:07 +08:00
UserData.h Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang 2016-05-13 16:34:41 -04:00
convolver.cpp Bug 1262066 - GFX: 2D: Use ConvolveHorizontally1_LS3. r=seth 2016-05-23 10:30:39 +08:00
convolver.h Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
convolverLS3.cpp Bug 1262066 - GFX: 2D: Implement skia::ConvolveHorizontally1 in LS3 MMI. r=huangwenjun06 2016-05-23 10:30:38 +08:00
convolverLS3.h Bug 1262066 - GFX: 2D: Implement skia::ConvolveHorizontally1 in LS3 MMI. r=huangwenjun06 2016-05-23 10:30:38 +08:00
convolverSSE2.cpp
convolverSSE2.h
genshaders.sh
gfx2d.sln
gfx2d.vcxproj
image_operations.cpp Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang 2016-10-24 22:40:59 -04:00
image_operations.h
moz.build Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame 2017-01-04 14:01:12 -05:00
ssse3-scaler.c Bug 1282397 - prevent explicit null pointer dereference. r=jrmuizel 2016-06-27 17:23:10 +03:00
ssse3-scaler.h Bug 1266491 - Use an ssse3 scaler for video. r=mstange 2016-05-28 10:12:12 -04:00
u16string.h Bug 1156742 Part 3: Add support for FontType::CAIRO to CreateScaledFontForTrueTypeData on Windows. r=bas 2016-01-05 10:08:56 +00:00