summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/font/cpdf_font.h')
-rw-r--r--core/fpdfapi/font/cpdf_font.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfapi/font/cpdf_font.h b/core/fpdfapi/font/cpdf_font.h
index c8e65e26a5..1fef77b322 100644
--- a/core/fpdfapi/font/cpdf_font.h
+++ b/core/fpdfapi/font/cpdf_font.h
@@ -10,6 +10,7 @@
#include <memory>
#include <vector>
+#include "core/fpdfapi/font/cpdf_tounicodemap.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fxcrt/cfx_unowned_ptr.h"
#include "core/fxcrt/fx_string.h"
@@ -87,6 +88,9 @@ class CPDF_Font {
protected:
CPDF_Font();
+ static int TT2PDF(int m, FXFT_Face face);
+ static bool FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id);
+
virtual bool Load() = 0;
void LoadUnicodeMap() const; // logically const only.