| 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_INCLUDE_FXGE_FX_FONT_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ |
| 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ | 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "../../../third_party/base/nonstd_unique_ptr.h" | |
| 13 #include "../fxcrt/fx_system.h" | 12 #include "../fxcrt/fx_system.h" |
| 14 #include "fx_dib.h" | 13 #include "fx_dib.h" |
| 14 #include "third_party/base/nonstd_unique_ptr.h" |
| 15 | 15 |
| 16 typedef struct FT_FaceRec_* FXFT_Face; | 16 typedef struct FT_FaceRec_* FXFT_Face; |
| 17 typedef void* FXFT_Library; | 17 typedef void* FXFT_Library; |
| 18 | 18 |
| 19 class CFX_FaceCache; | 19 class CFX_FaceCache; |
| 20 class CFX_FontFaceInfo; | 20 class CFX_FontFaceInfo; |
| 21 class CFX_FontMapper; | 21 class CFX_FontMapper; |
| 22 class CFX_PathData; | 22 class CFX_PathData; |
| 23 class CFX_SizeGlyphCache; | 23 class CFX_SizeGlyphCache; |
| 24 class CFX_SubstFont; | 24 class CFX_SubstFont; |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 | 444 |
| 445 protected: | 445 protected: |
| 446 virtual ~IFX_GSUBTable() {} | 446 virtual ~IFX_GSUBTable() {} |
| 447 }; | 447 }; |
| 448 | 448 |
| 449 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); | 449 CFX_ByteString GetNameFromTT(const uint8_t* name_table, FX_DWORD name); |
| 450 | 450 |
| 451 int PDF_GetStandardFontName(CFX_ByteString* name); | 451 int PDF_GetStandardFontName(CFX_ByteString* name); |
| 452 | 452 |
| 453 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ | 453 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ |
| OLD | NEW |