summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-16 20:48:50 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-19 14:05:29 +0200
commit5b5ab82dc881d3063f791bcb6192672f737f24c3 (patch)
tree45459807df1af1e22f531ccc51c82e9bef17f39f /vcl/quartz
parent0e6e0cea8fd5c02191f529b946c4df294072477f (diff)
Add ImplFontMetricData::mbTrueTypeFont
Indicates that the font truly is a TrueType one (FT_IS_SFNT in FreeType, TMPF_TRUETYPE in Win32). Change-Id: Ic9dbf5e5239ae2ca597c454091fc36073a3b19cc
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/ctfonts.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}