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 #include "core/fxge/cfx_substfont.h" 8 9 #include "core/fxcrt/fx_codepage.h" 10 #include "core/fxge/fx_font.h" 11 CFX_SubstFont()12CFX_SubstFont::CFX_SubstFont() 13 : m_Charset(FX_CHARSET_ANSI), 14 m_Weight(0), 15 m_ItalicAngle(0), 16 m_WeightCJK(0), 17 m_bSubstCJK(false), 18 m_bItalicCJK(false), 19 #ifdef PDF_ENABLE_XFA 20 m_bFlagItalic(false), 21 #endif // PDF_ENABLE_XFA 22 m_bFlagMM(false) { 23 } 24