| // Copyright 2016 The PDFium Authors |
| // 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 |
| #ifndef CORE_FXGE_CFX_SUBSTFONT_H_ |
| #define CORE_FXGE_CFX_SUBSTFONT_H_ |
| #include "core/fxcrt/bytestring.h" |
| #include "core/fxcrt/fx_codepage.h" |
| #if defined(PDF_USE_SKIA) |
| int GetOriginalWeight() const; |
| void SetIsBuiltInGenericFont() { m_bFlagMM = true; } |
| bool IsBuiltInGenericFont() const { return m_bFlagMM; } |
| FX_Charset m_Charset = FX_Charset::kANSI; |
| bool m_bSubstCJK = false; |
| bool m_bItalicCJK = false; |
| #endif // CORE_FXGE_CFX_SUBSTFONT_H_ |