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 #include "core/fxge/include/cfx_fontmapper.h" | 7 #include "core/fxge/include/cfx_fontmapper.h" |
8 #include "core/fxge/include/ifx_systemfontinfo.h" | 8 #include "core/fxge/include/ifx_systemfontinfo.h" |
9 #include "core/fxge/include/fx_ge.h" | |
10 | 9 |
11 CFX_SubstFont::CFX_SubstFont() { | 10 CFX_SubstFont::CFX_SubstFont() { |
12 m_ExtHandle = nullptr; | 11 m_ExtHandle = nullptr; |
13 m_Charset = FXFONT_ANSI_CHARSET; | 12 m_Charset = FXFONT_ANSI_CHARSET; |
14 m_SubstFlags = 0; | 13 m_SubstFlags = 0; |
15 m_Weight = 0; | 14 m_Weight = 0; |
16 m_ItalicAngle = 0; | 15 m_ItalicAngle = 0; |
17 m_bSubstCJK = false; | 16 m_bSubstCJK = false; |
18 m_WeightCJK = 0; | 17 m_WeightCJK = 0; |
19 m_bItalicCJK = false; | 18 m_bItalicCJK = false; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 CFX_ByteString fontTables, | 133 CFX_ByteString fontTables, |
135 uint32_t fontOffset, | 134 uint32_t fontOffset, |
136 uint32_t fileSize) | 135 uint32_t fileSize) |
137 : m_FilePath(filePath), | 136 : m_FilePath(filePath), |
138 m_FaceName(faceName), | 137 m_FaceName(faceName), |
139 m_FontTables(fontTables), | 138 m_FontTables(fontTables), |
140 m_FontOffset(fontOffset), | 139 m_FontOffset(fontOffset), |
141 m_FileSize(fileSize), | 140 m_FileSize(fileSize), |
142 m_Styles(0), | 141 m_Styles(0), |
143 m_Charsets(0) {} | 142 m_Charsets(0) {} |
OLD | NEW |