OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 typedef void* FXFT_Library; | 7 typedef void* FXFT_Library; |
8 class CPDF_CMapManager | 8 class CPDF_CMapManager |
9 { | 9 { |
10 public: | 10 public: |
(...skipping 13 matching lines...) Expand all Loading... |
24 }; | 24 }; |
25 class CPDF_FontGlobals | 25 class CPDF_FontGlobals |
26 { | 26 { |
27 public: | 27 public: |
28 CPDF_FontGlobals(); | 28 CPDF_FontGlobals(); |
29 ~CPDF_FontGlobals(); | 29 ~CPDF_FontGlobals(); |
30 void ClearAll(); | 30 void ClearAll(); |
31 void Clear(void* key); | 31 void Clear(void* key); |
32 CPDF_Font* Find(void* key, int index); | 32 CPDF_Font* Find(void* key, int index); |
33 void Set(void* key, int index, CPDF_Font* pFo
nt); | 33 void Set(void* key, int index, CPDF_Font* pFo
nt); |
34 CFX_MapPtrToPtr m_pStockMap; | |
35 CPDF_CMapManager m_CMapManager; | 34 CPDF_CMapManager m_CMapManager; |
36 struct { | 35 struct { |
37 const struct FXCMAP_CMap* m_pMapList; | 36 const struct FXCMAP_CMap* m_pMapList; |
38 int m_Count; | 37 int m_Count; |
39 } m_EmbeddedCharsets[NUMBER_OF_CIDSETS]; | 38 } m_EmbeddedCharsets[NUMBER_OF_CIDSETS]; |
40 struct { | 39 struct { |
41 const FX_WORD* m_pMap; | 40 const FX_WORD* m_pMap; |
42 int m_Count; | 41 int m_Count; |
43 } m_EmbeddedToUnicodes[NUMBER_OF_CIDSETS]; | 42 } m_EmbeddedToUnicodes[NUMBER_OF_CIDSETS]; |
| 43 private: |
| 44 CFX_MapPtrToPtr m_pStockMap; |
44 FX_LPBYTE m_pContrastRamps; | 45 FX_LPBYTE m_pContrastRamps; |
45 }; | 46 }; |
46 struct _CMap_CodeRange { | 47 struct _CMap_CodeRange { |
47 int m_CharSize; | 48 int m_CharSize; |
48 FX_BYTE m_Lower[4]; | 49 FX_BYTE m_Lower[4]; |
49 FX_BYTE m_Upper[4]; | 50 FX_BYTE m_Upper[4]; |
50 }; | 51 }; |
51 class CPDF_CMapParser | 52 class CPDF_CMapParser |
52 { | 53 { |
53 public: | 54 public: |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 CFX_CMapDWordToDWord m_Map; | 163 CFX_CMapDWordToDWord m_Map; |
163 CPDF_CID2UnicodeMap* m_pBaseMap; | 164 CPDF_CID2UnicodeMap* m_pBaseMap; |
164 CFX_WideTextBuf m_MultiCharBuf; | 165 CFX_WideTextBuf m_MultiCharBuf; |
165 }; | 166 }; |
166 class CPDF_FontCharMap : public CFX_CharMap | 167 class CPDF_FontCharMap : public CFX_CharMap |
167 { | 168 { |
168 public: | 169 public: |
169 CPDF_FontCharMap(CPDF_Font* pFont); | 170 CPDF_FontCharMap(CPDF_Font* pFont); |
170 CPDF_Font* m_pFont; | 171 CPDF_Font* m_pFont; |
171 }; | 172 }; |
OLD | NEW |