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_FXGE_GE_CTTFONTDESC_H_ | 7 #ifndef CORE_FXGE_GE_CTTFONTDESC_H_ |
8 #define CORE_FXGE_GE_CTTFONTDESC_H_ | 8 #define CORE_FXGE_GE_CTTFONTDESC_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 #include "core/fxge/include/fx_font.h" | 11 #include "core/fxge/include/fx_font.h" |
12 | 12 |
13 #define FX_FONT_FLAG_SERIF 0x01 | 13 #define FX_FONT_FLAG_SERIF 0x01 |
14 #define FX_FONT_FLAG_FIXEDPITCH 0x02 | 14 #define FX_FONT_FLAG_FIXEDPITCH 0x02 |
15 #define FX_FONT_FLAG_ITALIC 0x04 | 15 #define FX_FONT_FLAG_ITALIC 0x04 |
16 #define FX_FONT_FLAG_BOLD 0x08 | 16 #define FX_FONT_FLAG_BOLD 0x08 |
17 #define FX_FONT_FLAG_SYMBOLIC_SYMBOL 0x10 | 17 #define FX_FONT_FLAG_SYMBOLIC_SYMBOL 0x10 |
18 #define FX_FONT_FLAG_SYMBOLIC_DINGBATS 0x20 | 18 #define FX_FONT_FLAG_SYMBOLIC_DINGBATS 0x20 |
19 #define FX_FONT_FLAG_MULTIPLEMASTER 0x40 | 19 #define FX_FONT_FLAG_MULTIPLEMASTER 0x40 |
20 | 20 |
(...skipping 15 matching lines...) Expand all Loading... |
36 } m_SingleFace; | 36 } m_SingleFace; |
37 struct { | 37 struct { |
38 FXFT_Face m_pFaces[16]; | 38 FXFT_Face m_pFaces[16]; |
39 } m_TTCFace; | 39 } m_TTCFace; |
40 }; | 40 }; |
41 uint8_t* m_pFontData; | 41 uint8_t* m_pFontData; |
42 int m_RefCount; | 42 int m_RefCount; |
43 }; | 43 }; |
44 | 44 |
45 #endif // CORE_FXGE_GE_CTTFONTDESC_H_ | 45 #endif // CORE_FXGE_GE_CTTFONTDESC_H_ |
OLD | NEW |