summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_fontmgr.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-10 21:23:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-10 21:23:36 +0000
commita0157f4b46e6b6253a9185f3b70a5fd22b19c3dd (patch)
treeea0258334dd816054162d32625d0093f55601e75 /core/fxge/cfx_fontmgr.h
parent4afee170f5e26b044236fd1e93c6ae2371a993de (diff)
downloadpdfium-a0157f4b46e6b6253a9185f3b70a5fd22b19c3dd.tar.xz
Move FreeType version check to its own method.
Fix some other nits in CFX_FontMgr as well. Change-Id: I4c15d1cc96c964c452dcab8962885d2b71d54a5d Reviewed-on: https://pdfium-review.googlesource.com/22471 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/cfx_fontmgr.h')
-rw-r--r--core/fxge/cfx_fontmgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fxge/cfx_fontmgr.h b/core/fxge/cfx_fontmgr.h
index 62ecd84716..5c888a743e 100644
--- a/core/fxge/cfx_fontmgr.h
+++ b/core/fxge/cfx_fontmgr.h
@@ -60,6 +60,9 @@ class CFX_FontMgr {
bool FTLibrarySupportsHinting() const { return m_FTLibrarySupportsHinting; }
private:
+ bool FreeTypeVersionSupportsHinting() const;
+ bool SetLcdFilterMode() const;
+
std::unique_ptr<CFX_FontMapper> m_pBuiltinMapper;
std::map<ByteString, std::unique_ptr<CTTFontDesc>> m_FaceMap;
FXFT_Library m_FTLibrary;