OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_CPDF_FONT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_FONT_INCLUDE_CPDF_FONT_H_ |
8 #define CORE_FPDFAPI_FPDF_FONT_INCLUDE_CPDF_FONT_H_ | 8 #define CORE_FPDFAPI_FPDF_FONT_INCLUDE_CPDF_FONT_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
12 #include "core/include/fxge/fx_font.h" | 12 #include "core/fxge/include/fx_font.h" |
13 | 13 |
14 #define PDFFONT_FIXEDPITCH 1 | 14 #define PDFFONT_FIXEDPITCH 1 |
15 #define PDFFONT_SERIF 2 | 15 #define PDFFONT_SERIF 2 |
16 #define PDFFONT_SYMBOLIC 4 | 16 #define PDFFONT_SYMBOLIC 4 |
17 #define PDFFONT_SCRIPT 8 | 17 #define PDFFONT_SCRIPT 8 |
18 #define PDFFONT_NONSYMBOLIC 32 | 18 #define PDFFONT_NONSYMBOLIC 32 |
19 #define PDFFONT_ITALIC 64 | 19 #define PDFFONT_ITALIC 64 |
20 #define PDFFONT_ALLCAP 0x10000 | 20 #define PDFFONT_ALLCAP 0x10000 |
21 #define PDFFONT_SMALLCAP 0x20000 | 21 #define PDFFONT_SMALLCAP 0x20000 |
22 #define PDFFONT_FORCEBOLD 0x40000 | 22 #define PDFFONT_FORCEBOLD 0x40000 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 FX_BOOL m_bToUnicodeLoaded; | 119 FX_BOOL m_bToUnicodeLoaded; |
120 int m_Flags; | 120 int m_Flags; |
121 FX_RECT m_FontBBox; | 121 FX_RECT m_FontBBox; |
122 int m_StemV; | 122 int m_StemV; |
123 int m_Ascent; | 123 int m_Ascent; |
124 int m_Descent; | 124 int m_Descent; |
125 int m_ItalicAngle; | 125 int m_ItalicAngle; |
126 }; | 126 }; |
127 | 127 |
128 #endif // CORE_FPDFAPI_FPDF_FONT_INCLUDE_CPDF_FONT_H_ | 128 #endif // CORE_FPDFAPI_FPDF_FONT_INCLUDE_CPDF_FONT_H_ |
OLD | NEW |