Issues
- add Chinese support in cfdocument pdf output with the flying saucer engineLDEV-3836Resolved issue: LDEV-3836Pothys - MitrahSoft
- cfdocument pdf does not support arialLDEV-3639Michael Offner
- Some of fonts is not working in cfdocument with engine flyingsaucerLDEV-3144Michael Offner
- Problems with cfdocument encoding after upgrade to Lucee 5LDEV-1273Resolved issue: LDEV-1273Michael Offner
- Implement customer fonts in PDFLDEV-986Michael Offner
add Chinese support in cfdocument pdf output with the flying saucer engine
Description
Environment
Lucee 5.3.8.206 / 5.3.9.52-SNAPSHOT
MacOS Monterey 12.1
Java 11.0.12 64bit
also tested in:
OS: window 10
Java Version: 11.0.11 (AdoptOpenJDK) 64bit
Tomcat Version: WildFly / Undertow - 2.2.3.Final
Lucee Version: Lucee 5.3.9.44-SNAPSHOT
Attachments
relates to
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Da LiDa LiPriority
NewLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Reporter
Priority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Activity
Brad Wood30 March 2022 at 16:19
Awesome work, guys!
Pothys - MitrahSoft30 March 2022 at 14:13
I've checked this ticket with the latest PDF version 1.1.0.7-SNAPSHOT in lucee version 5.3.9.120-SNAPSHOT. Now the Chinese fonts are rendered on pdf with the fontDirectory attribute.
Zac Spitzer29 March 2022 at 23:07
Pothys - MitrahSoft21 March 2022 at 07:29
@Brad Wood For now, no other patch to this. Hope the PDF extension will be available with the above patch soon.
Brad Wood18 March 2022 at 18:58
@Pothys - MitrahSoft will this be fixed in 5.3.9 or is the patch here still needed for Chinese text to display?
`<cfdocument type="modern">` which uses the flying saucer engine to render pdf has problem displaying Chinese as the underlying code uses CP1252 codepage by default causing the rendering of the Asian language to fail. The pdf will be produced with no exception, however, the Asian language characters cannot be seen.
A possible fix has been provided by gaia-jyh can be found here, accompanying reproduction code:
https://dev.lucee.org/t/lucee-flying-saucer-pdf-engine-not-support-chinese-ttf/9524
https://github.com/gaias-jyh/lucee-flyingSaucerPDF