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 _FX_FONT_H_ | 7 #ifndef FX_FONT_H_ |
8 #define _FX_FONT_H_ | 8 #define FX_FONT_H_ |
9 #ifndef _FXCRT_EXTENSION_ | 9 |
10 #include "../../include/fxcrt/fx_ext.h" | 10 #include "../fxcrt/fx_ext.h" |
11 #endif | |
12 #ifndef _FX_DIB_H_ | |
13 #include "fx_dib.h" | 11 #include "fx_dib.h" |
14 #endif | 12 |
15 typedef struct FT_FaceRec_* FXFT_Face; | 13 typedef struct FT_FaceRec_* FXFT_Face; |
16 typedef void* FXFT_Library; | 14 typedef void* FXFT_Library; |
17 class IFX_FontEncoding; | 15 class IFX_FontEncoding; |
18 class CFX_PathData; | 16 class CFX_PathData; |
19 class CFX_SubstFont; | 17 class CFX_SubstFont; |
20 class CFX_FaceCache; | 18 class CFX_FaceCache; |
21 class IFX_FontMapper; | 19 class IFX_FontMapper; |
22 class CFX_FontMapper; | 20 class CFX_FontMapper; |
23 class IFX_SystemFontInfo; | 21 class IFX_SystemFontInfo; |
24 class CFontFileFaceInfo; | 22 class CFontFileFaceInfo; |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 class IFX_GSUBTable | 424 class IFX_GSUBTable |
427 { | 425 { |
428 public: | 426 public: |
429 virtual void Release() = 0; | 427 virtual void Release() = 0; |
430 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) = 0
; | 428 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) = 0
; |
431 | 429 |
432 protected: | 430 protected: |
433 ~IFX_GSUBTable() { } | 431 ~IFX_GSUBTable() { } |
434 }; | 432 }; |
435 IFX_GSUBTable* FXGE_CreateGSUBTable(CFX_Font* pFont); | 433 IFX_GSUBTable* FXGE_CreateGSUBTable(CFX_Font* pFont); |
436 #endif | 434 |
| 435 #endif // FX_FONT_H_ |
OLD | NEW |