diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-13 19:28:39 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-13 19:28:39 +0000 |
commit | 1a99f200c59a89fe297ac79658d2fe11b13b1553 (patch) | |
tree | 12202f250b102a1a7a7d3fb1bea087f91df67439 /core/fpdfapi/font/cpdf_simplefont.cpp | |
parent | b850c987d141c5578535faba64d14782dbfc13da (diff) | |
download | pdfium-1a99f200c59a89fe297ac79658d2fe11b13b1553.tar.xz |
Mark CPDF_Font::GlyphFromCharCodeExt() and friends Mac only.
Change-Id: I4906351a6e21fb8480670a6daf15bd7cb9e441c5
Reviewed-on: https://pdfium-review.googlesource.com/39911
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_simplefont.cpp')
-rw-r--r-- | core/fpdfapi/font/cpdf_simplefont.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_simplefont.cpp b/core/fpdfapi/font/cpdf_simplefont.cpp index f1bbf69b4f..dd1a1f33f3 100644 --- a/core/fpdfapi/font/cpdf_simplefont.cpp +++ b/core/fpdfapi/font/cpdf_simplefont.cpp @@ -32,7 +32,6 @@ CPDF_SimpleFont::CPDF_SimpleFont(CPDF_Document* pDocument, : CPDF_Font(pDocument, pFontDict) { memset(m_CharWidth, 0xff, sizeof(m_CharWidth)); memset(m_GlyphIndex, 0xff, sizeof(m_GlyphIndex)); - memset(m_ExtGID, 0xff, sizeof(m_ExtGID)); for (size_t i = 0; i < FX_ArraySize(m_CharBBox); ++i) m_CharBBox[i] = FX_RECT(-1, -1, -1, -1); } |