summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-19 19:58:42 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-19 20:00:55 +0200
commit4c46c3046fb922f65b562e893e59d6b67ea5b2c2 (patch)
tree0f5c14f3e683f7d5574203fdf1c599f6ab5fc7dc /vcl
parentafc37372c1e1e8a865a4ad91a4b998e861ad9f02 (diff)
We don’t use this with the new layout engine
Don’t wast time parsing GSUB table to populate a vector that we won’t use. Change-Id: I74dbb0f4d679cf06f22c1667899bcd3cae22c1d8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/glyphs/freetype_glyphcache.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
index 7ef42b88a93e..e398257c0bd5 100644
--- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
@@ -508,7 +508,8 @@ FreetypeFont::FreetypeFont( const FontSelectPattern& rFSD, FreetypeFontInfo* pFI
mbFaceOk = true;
- ApplyGSUB( rFSD );
+ if (!SalLayout::UseCommonLayout())
+ ApplyGSUB( rFSD );
// TODO: query GASP table for load flags
mnLoadFlags = FT_LOAD_DEFAULT;