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

Unified Diff: core/fpdfdoc/include/ipvt_fontmap.h

Issue 1860063002: Remove core/include/fpdfdoc/fpdf_vt.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fpdfdoc/include/cpvt_wordrange.h ('k') | core/fpdfdoc/ipvt_fontmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/include/ipvt_fontmap.h
diff --git a/core/fpdfdoc/ipvt_fontmap.h b/core/fpdfdoc/include/ipvt_fontmap.h
similarity index 52%
rename from core/fpdfdoc/ipvt_fontmap.h
rename to core/fpdfdoc/include/ipvt_fontmap.h
index eec414d61781c7dd2899c2f1ccadfbdd47062e68..9835d5ec12b20167cb8ddd3e91a2e5dc4f9a312c 100644
--- a/core/fpdfdoc/ipvt_fontmap.h
+++ b/core/fpdfdoc/include/ipvt_fontmap.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_FPDFDOC_IPVT_FONTMAP_H_
-#define CORE_FPDFDOC_IPVT_FONTMAP_H_
+#ifndef CORE_FPDFDOC_INCLUDE_IPVT_FONTMAP_H_
+#define CORE_FPDFDOC_INCLUDE_IPVT_FONTMAP_H_
#include <stdint.h>
@@ -19,6 +19,11 @@ class IPVT_FontMap {
virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0;
virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
+ virtual int32_t GetWordFontIndex(uint16_t word,
+ int32_t charset,
+ int32_t nFontIndex) = 0;
+ virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
+ virtual int32_t CharSetFromUnicode(uint16_t word, int32_t nOldCharset) = 0;
};
-#endif // CORE_FPDFDOC_IPVT_FONTMAP_H_
+#endif // CORE_FPDFDOC_INCLUDE_IPVT_FONTMAP_H_
« no previous file with comments | « core/fpdfdoc/include/cpvt_wordrange.h ('k') | core/fpdfdoc/ipvt_fontmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698