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_FPDF_FONT_FONT_INT_H_ |
8 #define CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 8 #define CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
| 13 #include "core/fxcrt/include/fx_basic.h" |
13 #include "core/include/fpdfapi/fpdf_resource.h" | 14 #include "core/include/fpdfapi/fpdf_resource.h" |
14 #include "core/include/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 typedef void* FXFT_Library; | 21 typedef void* FXFT_Library; |
22 | 22 |
23 short TT2PDF(int m, FXFT_Face face); | 23 short TT2PDF(int m, FXFT_Face face); |
24 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id); | 24 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 static FX_DWORD StringToCode(const CFX_ByteStringC& str); | 199 static FX_DWORD StringToCode(const CFX_ByteStringC& str); |
200 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); | 200 static CFX_WideString StringToWideString(const CFX_ByteStringC& str); |
201 }; | 201 }; |
202 | 202 |
203 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, | 203 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, |
204 const uint16_t*& pMap, | 204 const uint16_t*& pMap, |
205 FX_DWORD& count); | 205 FX_DWORD& count); |
206 | 206 |
207 #endif // CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 207 #endif // CORE_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
OLD | NEW |