diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-01 14:24:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | fcdf143e519778bba1a852fd75b65122ba748f1c (patch) | |
tree | 53f4105423e4590bbaa16d368bb8a3b057e7d99f /vcl/inc | |
parent | 4442d226438c1f558021b2df9fe6e540e72cbc7e (diff) |
convert FontHinting to scoped enum
Change-Id: I13ce9e6d50e8d4e087c936bd86e8e96997f020cd
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/fc_fontoptions.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/fc_fontoptions.hxx b/vcl/inc/unx/fc_fontoptions.hxx index d085e260366b..2f1594a24be7 100644 --- a/vcl/inc/unx/fc_fontoptions.hxx +++ b/vcl/inc/unx/fc_fontoptions.hxx @@ -41,7 +41,7 @@ public: meEmbeddedBitmap(EMBEDDEDBITMAP_DONTKNOW), meAntiAlias(ANTIALIAS_DONTKNOW), meAutoHint(AUTOHINT_DONTKNOW), - meHinting(HINTING_DONTKNOW), + meHinting(FontHinting::DontKnow), meHintStyle(FontHintStyle::Slight), mpPattern(pPattern) {} ~FontConfigFontOptions(); @@ -50,7 +50,7 @@ public: FontHintStyle GetHintStyle() const { return meHintStyle; } bool DontUseEmbeddedBitmaps() const { return meEmbeddedBitmap == EMBEDDEDBITMAP_FALSE; } bool DontUseAntiAlias() const { return meAntiAlias == ANTIALIAS_FALSE; } - bool DontUseHinting() const { return (meHinting == HINTING_FALSE) || (GetHintStyle() == FontHintStyle::NONE); } + bool DontUseHinting() const { return (meHinting == FontHinting::No) || (GetHintStyle() == FontHintStyle::NONE); } void* GetPattern(void * /*pFace*/, bool /*bEmbolden*/) const; private: FcPattern* mpPattern; |