diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-10 21:23:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-10 21:23:36 +0000 |
commit | a0157f4b46e6b6253a9185f3b70a5fd22b19c3dd (patch) | |
tree | ea0258334dd816054162d32625d0093f55601e75 /core/fxge/cfx_fontmgr.h | |
parent | 4afee170f5e26b044236fd1e93c6ae2371a993de (diff) | |
download | pdfium-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.h | 3 |
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; |