| 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 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
| 8 #define CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 CPDF_CID2UnicodeMap* m_pBaseMap; | 200 CPDF_CID2UnicodeMap* m_pBaseMap; |
| 201 CFX_WideTextBuf m_MultiCharBuf; | 201 CFX_WideTextBuf m_MultiCharBuf; |
| 202 | 202 |
| 203 private: | 203 private: |
| 204 friend class fpdf_font_StringToCode_Test; | 204 friend class fpdf_font_StringToCode_Test; |
| 205 friend class fpdf_font_StringToWideString_Test; | 205 friend class fpdf_font_StringToWideString_Test; |
| 206 | 206 |
| 207 static FX_DWORD StringToCode(const CFX_ByteStringC& str); | 207 static FX_DWORD StringToCode(const CFX_ByteStringC& str); |
| 208 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); | 208 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); |
| 209 }; | 209 }; |
| 210 class CPDF_FontCharMap : public CFX_CharMap { | |
| 211 public: | |
| 212 CPDF_FontCharMap(CPDF_Font* pFont); | |
| 213 CPDF_Font* m_pFont; | |
| 214 }; | |
| 215 | 210 |
| 216 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, | 211 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, |
| 217 const FX_WORD*& pMap, | 212 const FX_WORD*& pMap, |
| 218 FX_DWORD& count); | 213 FX_DWORD& count); |
| 219 | 214 |
| 220 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 215 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
| OLD | NEW |