summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs/gcach_ftyp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-09-30 16:48:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-09-30 16:48:43 +0100
commitbf2037d9ad896023f0190180e77cf7afac3a9bdd (patch)
treea8fd012453e9936753180e8d5586a014a0608618 /vcl/source/glyphs/gcach_ftyp.cxx
parent4361349144bc061e9045fe66f14a78c7cd20621a (diff)
fix up FT_LOAD_NO_BITMAP flag
Diffstat (limited to 'vcl/source/glyphs/gcach_ftyp.cxx')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index ebdd59f517af..aeb928c46608 100644
--- a/vcl/source/glyphs/gcach_ftyp.cxx
+++ b/vcl/source/glyphs/gcach_ftyp.cxx
@@ -895,6 +895,9 @@ void FreetypeServerFont::SetFontOptions( const ImplFontOptions& rFontOptions)
}
}
#endif
+
+ if( mnPrioEmbedded <= 0 )
+ mnLoadFlags |= FT_LOAD_NO_BITMAP;
}
// -----------------------------------------------------------------------