diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-18 16:57:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-18 16:57:17 +0000 |
commit | 95d525e83f1f5b5fac15970f767410b21debbb81 (patch) | |
tree | 78bea45f5ec078412c46553e5949bebbb267ffc3 /xfa/fgas/font/cfgas_fontmgr.h | |
parent | 7281ed762c675717429fc78447055ccdb1171927 (diff) | |
download | pdfium-95d525e83f1f5b5fac15970f767410b21debbb81.tar.xz |
Shuffle platform-specifc code in CFGAS_FontMgr::GetFontByUnicode().
Move most of it into GetFontByUnicodeImpl().
Change-Id: Ibbfe458589d0d1aea8f52179110690ed83e40fac
Reviewed-on: https://pdfium-review.googlesource.com/c/44250
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_fontmgr.h')
-rw-r--r-- | xfa/fgas/font/cfgas_fontmgr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 2bda20ceb1..b784bedfe8 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -114,6 +114,13 @@ class CFGAS_FontMgr final : public Observable<CFGAS_FontMgr> { bool EnumFonts(); private: + RetainPtr<CFGAS_GEFont> GetFontByUnicodeImpl(wchar_t wUnicode, + uint32_t dwFontStyles, + const wchar_t* pszFontFamily, + uint32_t dwHash, + uint16_t wCodePage, + uint16_t wBitField); + #if _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ const FX_FONTDESCRIPTOR* FindFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, |