CFDocument PDF and Custom Font


#1

Hi,

im trying to add a new language (Chinese) to a existing CF application. Everything works fine except creating the pdf document. The document simply shows ?? instead of the chinese characters. I tried adding the chinese font (SimSun ) by generating a fonts.jar (which worked for me on railo some years ago) and according to LDEV-1698 by adding the new fontDirectory param to cfdocument but nothing did help. I created a simple test page:

http://www.tagmedia.de/pdftest.cfm

http://www.tagmedia.de/pdftest.cfm?nopdf=1
(for showing the same code as html)

I’ve got the feeling i’m missing something basic here, so i’m really thankful for any help.
Setup is latest Lucee version with latest PDF extension on centos6.

Thanks
Matthias


#2

These posts might be helpful…


#3

have you seen the newish fontdirectory option?
https://luceeserver.atlassian.net/browse/LDEV-1698


#5

I can research that, but since Micha made the most recent changes he might have the answer without spending time on it.