The application is running on lucee 18.104.22.168 and Installed pdf extension 22.214.171.124-SPANSHOT. When I download a document from the Application in a pdf version the document does not include special characters.
PDF extension even does not install the fonts jar files. if I copied the fonts jar file to “/opt/lucee/web/fonts/” location special character is working.
Does there any issue with lucee version 126.96.36.199 or the pdf extension?
Hi @Ismail_Hossain, can you please elaborate on which special characters are not working in pdf? (example code would be more helpful)
If you have a custom fonts jar file, you have to make the lucee to pick up the font jar file by placing your font jar files in the
lucee_installation_folder\tomcat\lib\ folder and restart the lucee server. So lucee will extract the jar files to the
Thanks for your prompt response.
I don’t use the custom fonts jar file.
When the pdf extension did not install the fonts jar file in “/opt/lucee/web/fonts/” location so I did download the pdf extension and extracted the fonts jar file and copied to “/opt/lucee/web/fonts/” location and it is now workin.
the code example is:
<title>test title page</title>
Some special characters Ā and ū and Ā and ū
£ -- €
<cfheader name="Content-Disposition" value="inline;filename=""testfile.pdf""">
<cfcontent type="application/pdf" file="testfile" deletefile="yes">