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_FXGE_GE_TEXT_INT_H_ | 7 #ifndef CORE_SRC_FXGE_GE_TEXT_INT_H_ |
8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ | 8 #define CORE_SRC_FXGE_GE_TEXT_INT_H_ |
9 | 9 |
10 #include "../../../include/fxge/fx_freetype.h" | 10 #include "../../../include/fxge/fx_freetype.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 const CFX_ByteString m_FilePath; | 69 const CFX_ByteString m_FilePath; |
70 const CFX_ByteString m_FaceName; | 70 const CFX_ByteString m_FaceName; |
71 const CFX_ByteString m_FontTables; | 71 const CFX_ByteString m_FontTables; |
72 const FX_DWORD m_FontOffset; | 72 const FX_DWORD m_FontOffset; |
73 const FX_DWORD m_FileSize; | 73 const FX_DWORD m_FileSize; |
74 FX_DWORD m_Styles; | 74 FX_DWORD m_Styles; |
75 FX_DWORD m_Charsets; | 75 FX_DWORD m_Charsets; |
76 }; | 76 }; |
77 | 77 |
78 class CFontFileFaceInfo { | |
79 public: | |
80 CFontFileFaceInfo(); | |
81 ~CFontFileFaceInfo(); | |
82 | |
83 IFX_FileStream* m_pFile; | |
84 FXFT_Face m_Face; | |
85 CFX_ByteString m_FaceName; | |
86 FX_DWORD m_Charsets; | |
87 FX_DWORD m_FileSize; | |
88 FX_DWORD m_FontOffset; | |
89 int m_Weight; | |
90 FX_BOOL m_bItalic; | |
91 int m_PitchFamily; | |
92 CFX_ByteString m_FontTables; | |
93 }; | |
94 | |
95 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ | 78 #endif // CORE_SRC_FXGE_GE_TEXT_INT_H_ |
OLD | NEW |