diff options
author | npm <npm@chromium.org> | 2016-08-11 12:32:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-11 12:32:26 -0700 |
commit | 445a94b089c155f79cc8602c724418898dc2a861 (patch) | |
tree | 7eecca8f62e0e9675ec5d660e5fb3c688ba7ebd6 /core/fxge/include/cfx_fontmapper.h | |
parent | e0347a6408dc21b4fcf7a713de69aacb785c7230 (diff) | |
download | pdfium-445a94b089c155f79cc8602c724418898dc2a861.tar.xz |
Clean up cfx_fontmapper a little
Added methods to reduce duplicated code
Nit fixes
Review-Url: https://codereview.chromium.org/2239703003
Diffstat (limited to 'core/fxge/include/cfx_fontmapper.h')
-rw-r--r-- | core/fxge/include/cfx_fontmapper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/fxge/include/cfx_fontmapper.h b/core/fxge/include/cfx_fontmapper.h index dc36f0b08a..09d5429044 100644 --- a/core/fxge/include/cfx_fontmapper.h +++ b/core/fxge/include/cfx_fontmapper.h @@ -55,6 +55,15 @@ class CFX_FontMapper { int italic_angle, int weight, int picthfamily); + FXFT_Face GetCachedTTCFace(void* hFont, + const uint32_t tableTTCF, + uint32_t ttc_size, + uint32_t font_size); + FXFT_Face GetCachedFace(void* hFont, + CFX_ByteString SubstName, + int weight, + FX_BOOL bItalic, + uint32_t font_size); struct FaceData { CFX_ByteString name; |