Index: core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
index 0f7d128786b1d406e08ac9693e1572913c922737..cf9472c4e067c614d2862e3f749f6307c96065a7 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp |
@@ -1207,10 +1207,10 @@ FX_BOOL CPDF_CIDFont::_Load() { |
} |
CFX_ByteString subtype = pCIDFontDict->GetString(FX_BSTRC("Subtype")); |
m_bType1 = FALSE; |
- if (subtype == FX_BSTRC("CIDFontType0")) { |
+ if (subtype == FX_BSTRC("CIDFontType0")) |
Tom Sepez
2015/10/21 17:26:17
nit: m_bType1 = (subtype == FX_BSTRC(...));
dsinclair
2015/10/21 17:52:40
Done.
|
m_bType1 = TRUE; |
- } |
- if (pEncoding->GetType() == PDFOBJ_NAME) { |
+ |
+ if (pEncoding->IsName()) { |
CFX_ByteString cmap = pEncoding->GetString(); |
m_pCMap = |
CPDF_ModuleMgr::Get() |