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> |
11 | 11 |
12 #include "../../../include/fxcrt/fx_basic.h" | 12 #include "core/include/fpdfapi/fpdf_resource.h" |
13 #include "../../../include/fpdfapi/fpdf_resource.h" | 13 #include "core/include/fxcrt/fx_basic.h" |
14 | 14 |
15 class CPDF_CID2UnicodeMap; | 15 class CPDF_CID2UnicodeMap; |
16 class CPDF_CMap; | 16 class CPDF_CMap; |
17 class CPDF_Font; | 17 class CPDF_Font; |
18 class CPDF_Stream; | 18 class CPDF_Stream; |
19 | 19 |
20 typedef void* FXFT_Library; | 20 typedef void* FXFT_Library; |
21 | 21 |
22 short TT2PDF(int m, FXFT_Face face); | 22 short TT2PDF(int m, FXFT_Face face); |
23 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id); | 23 FX_BOOL FT_UseTTCharmap(FXFT_Face face, int platform_id, int encoding_id); |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 public: | 194 public: |
195 CPDF_FontCharMap(CPDF_Font* pFont); | 195 CPDF_FontCharMap(CPDF_Font* pFont); |
196 CPDF_Font* m_pFont; | 196 CPDF_Font* m_pFont; |
197 }; | 197 }; |
198 | 198 |
199 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, | 199 void FPDFAPI_LoadCID2UnicodeMap(CIDSet charset, |
200 const FX_WORD*& pMap, | 200 const FX_WORD*& pMap, |
201 FX_DWORD& count); | 201 FX_DWORD& count); |
202 | 202 |
203 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ | 203 #endif // CORE_SRC_FPDFAPI_FPDF_FONT_FONT_INT_H_ |
OLD | NEW |