1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXGE_CFX_SUBSTFONT_H_ 8 #define CORE_FXGE_CFX_SUBSTFONT_H_ 9 10 #include "core/fxcrt/fx_string.h" 11 12 #define FXFONT_SUBST_MM 0x01 13 #define FXFONT_SUBST_EXACT 0x40 14 15 class CFX_SubstFont { 16 public: 17 CFX_SubstFont(); 18 19 CFX_ByteString m_Family; 20 int m_Charset; 21 uint32_t m_SubstFlags; 22 int m_Weight; 23 int m_ItalicAngle; 24 bool m_bSubstCJK; 25 int m_WeightCJK; 26 bool m_bItalicCJK; 27 }; 28 29 #endif // CORE_FXGE_CFX_SUBSTFONT_H_ 30