Drop the FEFF prefix on Unicode strings.

This commit is contained in:
Michael R Sweet 2023-11-19 07:30:17 -05:00
parent 3f0aad7564
commit 088646e1cf
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
3 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ v1.1.4 (Month DD, YYYY)
- Fixed detection of encrypted strings that are too short (Issue #52) - Fixed detection of encrypted strings that are too short (Issue #52)
- Fixed a TrueType CMAP decoding bug. - Fixed a TrueType CMAP decoding bug.
- Fixed a text rendering issue for Asian text.
v1.1.3 (November 15, 2023) v1.1.3 (November 15, 2023)

View File

@ -3053,7 +3053,7 @@ write_string(pdfio_stream_t *st, // I - Stream
// Start the string... // Start the string...
if (!pdfioStreamPuts(st, unicode ? "<FEFF" : "(")) if (!pdfioStreamPuts(st, unicode ? "<" : "("))
return (false); return (false);
// Loop through the string, handling UTF-8 as needed... // Loop through the string, handling UTF-8 as needed...

View File

@ -2392,7 +2392,8 @@ write_font_test(
"Märr-ŋamathirri", "Märr-ŋamathirri",
"Ẹ ku abọ", "Ẹ ku abọ",
"Kíimak 'oolal", "Kíimak 'oolal",
"Ngiyakwemukela" "Ngiyakwemukela",
"いらっしゃいませ"
}; };