On extracting text from the attached file, all space characters are outputted as invalid unicode 0xFFFD. Command "mutool draw -o test.txt test.pdf". Other tools like XPDF-pdftotext do not show this behaviour.
Created attachment 24724 [details] test PDF
For more background and user communication, please also see the corresponding Github issue: https://github.com/pymupdf/PyMuPDF/issues/2609.
commit 3afbba702d491a8f8d2bbeba72115fa9ca04a411 (origin/master, origin/HEAD) Author: Tor Andersson <tor.andersson@artifex.com> Date: Tue Nov 14 19:51:09 2023 +0100 Bug 707045: Convert some ascii control characters to spaces. Tabs, newlines, etc.