All Cyrillic and other non-ascii characters are not rendered by CFDOCUMENT
result by Lucee 126.96.36.199:
(non-ascii characters are skipped, Calibri font rendered as Times)
If I add Calibri font using fontdirectory attribute, it is rendered correctly, but still ignores non-ascci.
in 188.8.131.52 (CommandBox, also Lucee Express) - no problem
All fonts in place. Calibri is installed in Windows (no measures to add this font to Lucee taken)
skipping non-ascii characters also reproduced in
184.108.40.206-SNAPSHOT (Lucee Express)
Windows-7 64 bit (English and Russsian versions tested)
I've checked this ticket and confirm the issue happened on Lucee pdf extension after 220.127.116.11 SNAPSHOT.
cfdocument will works fine until the pdf extension 18.104.22.168 SNAPSHOT. After 22.214.171.124 SNAPSHOT cfdocument ignores the non-ASCII value. But it workes as expected in ACF.
Workaround: downgrade Pdf Extension to 126.96.36.199 (this is the latest version working for me). Now Times and Courier fonts are rendered, while in Calibri and SimSun symbols are shown as question marks (?). Adding fonts to lucee/lib/fonts.jar fixes this (see https://dev.lucee.org/t/problem-with-chinese-characters-in-pdf/467/3)
Versions from 188.8.131.52 to 184.108.40.206 in my environment (Windows-7 64 bit Russsian,
JRE 1.8.0_221-b11, Lucee 220.127.116.11) produce “Error Failed to load PDF document“ (zero-length file)
To prevent Lucee from auto upgrading the extension on restart, I had to add
set LUCEE_EXTENSIONS="66E312DD-D083-27C0-64189D16753FD6F0;name=PDF Extension;version=18.104.22.168"
to lucee/bin/setenv.bat (or startup.bat)
Oddly, after setting environment variable even fonts not included in fonts.jar are rendered in pdf