summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_substfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/cfx_substfont.cpp')
-rw-r--r--core/fxge/cfx_substfont.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/fxge/cfx_substfont.cpp b/core/fxge/cfx_substfont.cpp
new file mode 100644
index 0000000000..27d3bc3059
--- /dev/null
+++ b/core/fxge/cfx_substfont.cpp
@@ -0,0 +1,19 @@
+// 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_SubstFlags(0),
+ m_Weight(0),
+ m_ItalicAngle(0),
+ m_bSubstCJK(false),
+ m_WeightCJK(0),
+ m_bItalicCJK(false) {}