HTML - PDF Conversion Font problem, Windows 7

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
zammer
Posts: 1
Joined: Wed Feb 16 2011

HTML - PDF Conversion Font problem, Windows 7

Post by zammer »

We have a C# application that uses the PDF converter printer. Our application first generates a formatted HTML file, and then converts it to PDF using the BatchConvert method. 99% of the time this works fine, but recently we had several customers complain about fonts in the PDF output. All of them are using Windows 7. I analyzed a couple of PDF documents using PDF Analyzer. When I look at a properly generated document, the Fonts listed by the analyzer are Verdana, Verdana Bold, and Times New Roman, which is as expected. When looking at an affected document, the Fonts seem to be scrambled up - the font names are listed as "94eqfti Bold", "60pupek", and "57ypccyjeddqqna". The HTML file used as source seems fine; only the PDF is affected. When viewed in Adobe, most of the data is displayed using what seem to be default fonts, but some of the content is missing, and I assume it is because of these strange fonts.

Has anybody run into anything similar, or has any ideas on what could be causing this?

Thank you very much.
Devteam
Posts: 119
Joined: Fri Oct 14 2005
Location: Montreal
Contact:

Re: HTML - PDF Conversion Font problem, Windows 7

Post by Devteam »

These look like temporary font names generated by I.E. when printing. To obtain correct output, you need to set Multilanguage support in the PDF printer driver through the FileNameOptions. This is described here:
http://www.amyuni.com/WebHelp/Amyuni_Do ... ionsEx.htm
Amyuni Development Team

Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
JasonH
Posts: 8
Joined: Wed Apr 13 2005

Re: HTML - PDF Conversion Font problem, Windows 7

Post by JasonH »

We are having a similar problem where opening the pdf in adobe displays a message "can't find or create the font xxxx.Bold" where xxxx is usually garbage. The font displays on the pdf as just small dots.

I tried setting the MultiLingual property you suggested but it did not fix our problem.

We have found a work around of uninstalling IE9 and installing IE8 in its place but this is a lot of grunt work for our users to have to do. We have also noticed that version 4.5 (demo) seems to fix it. However, we are using version 4 and would rather not have to purchase an update to fix something IE9 broke.

Do you have any other suggestions we can try?

Thanks
Post Reply