| 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_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 7 #ifndef CORE_FPDFAPI_FONT_FONT_INT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 8 #define CORE_FPDFAPI_FONT_FONT_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "core/fpdfapi/fpdf_font/cpdf_cidfont.h" | 13 #include "core/fpdfapi/font/cpdf_cidfont.h" |
| 14 #include "core/fxcrt/fx_basic.h" | 14 #include "core/fxcrt/fx_basic.h" |
| 15 | 15 |
| 16 class CPDF_CID2UnicodeMap; | 16 class CPDF_CID2UnicodeMap; |
| 17 class CPDF_CMap; | 17 class CPDF_CMap; |
| 18 class CPDF_Font; | 18 class CPDF_Font; |
| 19 class CPDF_Stream; | 19 class CPDF_Stream; |
| 20 | 20 |
| 21 using FXFT_Library = void*; | 21 using FXFT_Library = void*; |
| 22 | 22 |
| 23 int TT2PDF(int m, FXFT_Face face); | 23 int TT2PDF(int m, FXFT_Face face); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 friend class fpdf_font_StringToWideString_Test; | 194 friend class fpdf_font_StringToWideString_Test; |
| 195 | 195 |
| 196 static uint32_t StringToCode(const CFX_ByteStringC& str); | 196 static uint32_t StringToCode(const CFX_ByteStringC& str); |
| 197 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); | 197 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); |
| 198 | 198 |
| 199 std::map<uint32_t, uint32_t> m_Map; | 199 std::map<uint32_t, uint32_t> m_Map; |
| 200 CPDF_CID2UnicodeMap* m_pBaseMap; | 200 CPDF_CID2UnicodeMap* m_pBaseMap; |
| 201 CFX_WideTextBuf m_MultiCharBuf; | 201 CFX_WideTextBuf m_MultiCharBuf; |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 #endif // CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 204 #endif // CORE_FPDFAPI_FONT_FONT_INT_H_ |
| OLD | NEW |