summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fpdfapi/fpdf_font/fpdf_font_cid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
index 98051cb7aa..b952cda4e5 100644
--- a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
+++ b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
@@ -284,6 +284,8 @@ int GetCharSizeImpl(FX_DWORD charcode,
return 1;
}
+#if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
+
bool IsValidEmbeddedCharcodeFromUnicodeCharset(CIDSet charset) {
switch (charset) {
case CIDSET_GB1:
@@ -297,8 +299,6 @@ bool IsValidEmbeddedCharcodeFromUnicodeCharset(CIDSet charset) {
}
}
-#if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_
-
FX_DWORD EmbeddedCharcodeFromUnicode(const FXCMAP_CMap* pEmbedMap,
CIDSet charset,
FX_WCHAR unicode) {