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_font.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_font.cpp')
-rw-r--r-- | core/fpdfapi/font/cpdf_font.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfapi/font/cpdf_font.cpp b/core/fpdfapi/font/cpdf_font.cpp index f75f696035..f2aa4da052 100644 --- a/core/fpdfapi/font/cpdf_font.cpp +++ b/core/fpdfapi/font/cpdf_font.cpp @@ -112,9 +112,11 @@ size_t CPDF_Font::CountChar(const ByteStringView& pString) const { return pString.GetLength(); } +#if _FX_PLATFORM_ == _FX_PLATFORM_APPLE_ int CPDF_Font::GlyphFromCharCodeExt(uint32_t charcode) { return GlyphFromCharCode(charcode, nullptr); } +#endif bool CPDF_Font::IsVertWriting() const { const CPDF_CIDFont* pCIDFont = AsCIDFont(); |