summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_substfont.cpp
blob: 6c5459ede6dcf0ab0543797caf4d99f98032c888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fxge/cfx_substfont.h"

#include "core/fxcrt/fx_codepage.h"
#include "core/fxge/fx_font.h"

CFX_SubstFont::CFX_SubstFont()
    : m_Charset(FX_CHARSET_ANSI),
      m_Weight(0),
      m_ItalicAngle(0),
      m_WeightCJK(0),
      m_bSubstCJK(false),
      m_bItalicCJK(false),
#ifdef PDF_ENABLE_XFA
      m_bFlagItalic(false),
#endif  // PDF_ENABLE_XFA
      m_bFlagMM(false) {
}