Index: core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp |
index 308dac97822e2f5a2ae4bd5f2a6d2c2c7acf0a30..92d1719efe26625de2700f10364f7bc866cb3253 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp |
@@ -1778,5 +1778,5 @@ FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) { |
CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) { |
char glyph_name[64]; |
FXFT_adobe_name_from_unicode(glyph_name, unicode); |
- return CFX_ByteString(glyph_name, -1); |
+ return CFX_ByteString(glyph_name); |
} |