summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cmaps/cmap_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/cmaps/cmap_int.h')
-rw-r--r--core/fpdfapi/cmaps/cmap_int.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/fpdfapi/cmaps/cmap_int.h b/core/fpdfapi/cmaps/cmap_int.h
index 464a3414e0..58b4a2cc07 100644
--- a/core/fpdfapi/cmaps/cmap_int.h
+++ b/core/fpdfapi/cmaps/cmap_int.h
@@ -10,16 +10,23 @@
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/fx_system.h"
+struct FXCMAP_DWordCIDMap {
+ uint16_t m_HiWord;
+ uint16_t m_LoWordLow;
+ uint16_t m_LoWordHigh;
+ uint16_t m_CID;
+};
+
struct FXCMAP_CMap {
enum MapType : uint8_t { None, Single, Range };
const char* m_Name;
const uint16_t* m_pWordMap;
- const uint16_t* m_pDWordMap;
+ const FXCMAP_DWordCIDMap* m_pDWordMap;
uint16_t m_WordCount;
uint16_t m_DWordCount;
MapType m_WordMapType;
- MapType m_DWordMapType;
+ MapType m_DWordMapType; // TODO(thestig): Remove.
int8_t m_UseOffset;
};