From 088646e1cf34e51bbf4801cc5a0b1325875a9191 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 19 Nov 2023 07:30:17 -0500 Subject: [PATCH] Drop the FEFF prefix on Unicode strings. --- CHANGES.md | 1 + pdfio-content.c | 2 +- testpdfio.c | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 2b221cf..356b2c4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ v1.1.4 (Month DD, YYYY) - Fixed detection of encrypted strings that are too short (Issue #52) - Fixed a TrueType CMAP decoding bug. +- Fixed a text rendering issue for Asian text. v1.1.3 (November 15, 2023) diff --git a/pdfio-content.c b/pdfio-content.c index e352b66..2a54358 100644 --- a/pdfio-content.c +++ b/pdfio-content.c @@ -3053,7 +3053,7 @@ write_string(pdfio_stream_t *st, // I - Stream // Start the string... - if (!pdfioStreamPuts(st, unicode ? "