I have a little script that creates a PDF using <cfdocument>
to write a PDF. It looks something like this (minimalized code):
<cfdocument name="mypdf" format="pdf">
☒
</cfdocument>
When my data includes high ASCII chars like ☐
(☑) I get an error:
An exception occurred when performing document processing.
The detailed error msg is:
The cause of this exception was that: coldfusion.document.spi.DocumentExportException: coldfusion.document.DocumentFontException: An exception occurred when reading the font file c:\windows\fonts\EUB___.PFM The cause of this exception was that: java.awt.FontFormatException: Unsupported sfnt C:\WINDOWS\TEMP+~JF42977.tmp..
This seems to be a font-problem! Changing the CSS Font doesn't solve the problem. I need to check the default system font...
Oh and it's not the #
, I already did this: &##9744;
I use ColdFusion 8.