Question
CFDocument(PDF) - Fonts
CFDocument does not render my fonts in the PDF
I tried the following things:
- Add the Font in the CFAdmin(.ttf)
- Try to use the <font> - Tag instead of CSS
- Add the Font via @11220649-face in CSS
I use Coldfusion 9 on Linux
Here is the code, which i use to generate my PDF
<CFFILE action="write" file="mydocument.pdf" output="#content#" mode="777" />
<cfheader name="Content-Disposition" value="attachment; filename=mydocument.pdf">
<cfcontent type="application/pdf" variable="#content#" />
