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_CPDF_FONT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ |
8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ | 8 #define CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
15 #include "core/fxge/include/fx_font.h" | 15 #include "core/fxge/include/fx_font.h" |
16 | 16 |
17 #define PDFFONT_FIXEDPITCH 1 | 17 #define PDFFONT_FIXEDPITCH 1 |
18 #define PDFFONT_SERIF 2 | 18 #define PDFFONT_SERIF 2 |
19 #define PDFFONT_SYMBOLIC 4 | 19 #define PDFFONT_SYMBOLIC 4 |
20 #define PDFFONT_SCRIPT 8 | 20 #define PDFFONT_SCRIPT 8 |
21 #define PDFFONT_NONSYMBOLIC 32 | 21 #define PDFFONT_NONSYMBOLIC 32 |
22 #define PDFFONT_ITALIC 64 | 22 #define PDFFONT_ITALIC 64 |
23 #define PDFFONT_ALLCAP 0x10000 | 23 #define PDFFONT_ALLCAP 0x10000 |
24 #define PDFFONT_SMALLCAP 0x20000 | 24 #define PDFFONT_SMALLCAP 0x20000 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 mutable bool m_bToUnicodeLoaded; | 123 mutable bool m_bToUnicodeLoaded; |
124 int m_Flags; | 124 int m_Flags; |
125 FX_RECT m_FontBBox; | 125 FX_RECT m_FontBBox; |
126 int m_StemV; | 126 int m_StemV; |
127 int m_Ascent; | 127 int m_Ascent; |
128 int m_Descent; | 128 int m_Descent; |
129 int m_ItalicAngle; | 129 int m_ItalicAngle; |
130 }; | 130 }; |
131 | 131 |
132 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ | 132 #endif // CORE_FPDFAPI_FPDF_FONT_CPDF_FONT_H_ |
OLD | NEW |