diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-22 18:38:44 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-23 00:20:25 +0200 |
commit | c766a05ae0354f1bc9763b725f91069975b37bd3 (patch) | |
tree | c0cef4bff8708c925a45a957c5f690c81f6ae059 /vcl/inc/impfontcache.hxx | |
parent | 6d3843a415bb74a00a40f312b7771db27060cf0b (diff) |
Antialias drawing is part of the font selection
At least on Windows antialias-drawing has to be selected via
LOGFONTW.lfQuality passed to CreateFont, so InitFont is too late.
Change-Id: Ie81c5f0074fdbcf1f0e74fbff31a5df663a67884
Reviewed-on: https://gerrit.libreoffice.org/62200
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/impfontcache.hxx')
-rw-r--r-- | vcl/inc/impfontcache.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/impfontcache.hxx b/vcl/inc/impfontcache.hxx index ee39883f2199..25bc970c97a9 100644 --- a/vcl/inc/impfontcache.hxx +++ b/vcl/inc/impfontcache.hxx @@ -82,8 +82,8 @@ public: ImplFontCache(); ~ImplFontCache(); - rtl::Reference<LogicalFontInstance> GetFontInstance( PhysicalFontCollection const *, - const vcl::Font&, const Size& rPixelSize, float fExactHeight); + rtl::Reference<LogicalFontInstance> GetFontInstance(PhysicalFontCollection const *, + const vcl::Font&, const Size& rPixelSize, float fExactHeight, bool bNonAntialias = false); rtl::Reference<LogicalFontInstance> GetGlyphFallbackFont( PhysicalFontCollection const *, FontSelectPattern&, LogicalFontInstance* pLogicalFont, int nFallbackLevel, OUString& rMissingCodes ); |