I use PrinceXML to generate reports for my customers. I've been hearing from a few customers that when they open a report, all the text is in the dingbats font. This is not something I've been able to reproduce (even after replicating their windows / acrobat setup)... but customers continue to experience this problem. Finally, I went to one of the customers and asked them to show me the problem. We generated a report, and in fact it contained dingbats. The report remained opened while we discussed the issue. Then all of the sudden, the dingbats changed into readable text. So, I repeated the steps and it seems like report opens with dingbats and the actual fonts are filled in a bit later. The timing seemed to depend on the size of the pdf.
I am lost as to what the problem is. Here is the command I use,
My font.css references the standard msttcorefonts. However, it also contains
But this font is not used in the report.
I don't know if this is something related to prince or not, but I'm hoping you have some insights .
I am lost as to what the problem is. Here is the command I use,
/usr/local/bin/prince
--baseurl https://<our site>/
--media=print
--no-xinclude
--no-network
--no-embed-fonts
--style fonts.css
--style report.css
report.html
--output report.pdf
My font.css references the standard msttcorefonts. However, it also contains
@font-face {
font-family: micr;
font-style: normal;
src: url("fonts/truetype/gnu/GnuMICR.ttf")
}
But this font is not used in the report.
I don't know if this is something related to prince or not, but I'm hoping you have some insights .