I’ve been attempting to figure out why unicode characters aren’t showing up in my PDF on Lucee 6 on windows 2022. They are just blank. I can verify the Chinese chars in the HTML but the PDF is just blank. I’ve tried making a fonts.jar file with simsun.ttf in it with the proper line in pd4fonts.properties. I’ve tried doing various CSS ways to include the local files. I’ve tried doing font directory pointing at a font directly with the .ttf and the fonts.jar . so far no luck. Any other ideas I can try?
I never did figure this out. I wish there was a clear use this jar file of fonts and put it here and it’ll work.
I had to do a round about method to generate these. Since these aren’t common that have chars that aren’t displaying right, I have to output an HTML page and then print and save as PDF. Not ideal at all. It worked enough until I can find time to work on this again.