From 5b5ab82dc881d3063f791bcb6192672f737f24c3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 16 Nov 2015 20:48:50 +0200 Subject: Add ImplFontMetricData::mbTrueTypeFont Indicates that the font truly is a TrueType one (FT_IS_SFNT in FreeType, TMPF_TRUETYPE in Win32). Change-Id: Ic9dbf5e5239ae2ca597c454091fc36073a3b19cc --- vcl/quartz/ctfonts.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/quartz/ctfonts.cxx') diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 204261833989..a5882ca717d8 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -136,6 +136,7 @@ void CoreTextStyle::GetFontMetric( ImplFontMetricData& rMetric ) const // all CoreText fonts are scalable rMetric.mbScalableFont = true; + rMetric.mbTrueTypeFont = true; // Not sure, but this field is used only for Windows so far rMetric.mbKernableFont = true; } -- cgit