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/unx | |
parent | 4442d226438c1f558021b2df9fe6e540e72cbc7e (diff) |
convert FontHinting to scoped enum
Change-Id: I13ce9e6d50e8d4e087c936bd86e8e96997f020cd
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 887c3ed80216..5f6da53ba448 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -1212,7 +1212,7 @@ FontConfigFontOptions* PrintFontManager::getFontOptions( if( eAutoHint == FcResultMatch ) pOptions->meAutoHint = autohint ? AUTOHINT_TRUE : AUTOHINT_FALSE; if( eHinting == FcResultMatch ) - pOptions->meHinting = hinting ? HINTING_TRUE : HINTING_FALSE; + pOptions->meHinting = hinting ? FontHinting::Yes : FontHinting::No; switch (hintstyle) { case FC_HINT_NONE: pOptions->meHintStyle = FontHintStyle::NONE; break; |