• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 class CFX_SubstFont {
13  public:
14   CFX_SubstFont();
15 
16   ByteString m_Family;
17   int m_Charset;
18   int m_Weight;
19   int m_ItalicAngle;
20   int m_WeightCJK;
21   bool m_bSubstCJK;
22   bool m_bItalicCJK;
23 
24 #ifdef PDF_ENABLE_XFA
25   bool m_bFlagItalic;
26 #endif  // PDF_ENABLE_XFA
27   bool m_bFlagMM;
28 };
29 
30 #endif  // CORE_FXGE_CFX_SUBSTFONT_H_
31