Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1753)

Unified Diff: core/fxge/include/cfx_fontmapper.h

Issue 2239703003: Refactoring cfx_fontmapper (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nit Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxge/ge/cfx_fontmapper.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/include/cfx_fontmapper.h
diff --git a/core/fxge/include/cfx_fontmapper.h b/core/fxge/include/cfx_fontmapper.h
index dc36f0b08a266fbe5c8c3eee2cf6596bfa025750..09d542904422f7f622c757d729363289e5690116 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;
« no previous file with comments | « core/fxge/ge/cfx_fontmapper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698