This is an archived forum post. The information may be outdated. Contact us if you have any questions.

PDF not converted properly

kalyanrajiv wrote on 2015-11-03:
Hi,

Link of original HTML : http://fax.re-mailapp.com/uploads/pdf/tinasharma.proavid_1446568322_44502.html

PDF crowd API is failing to convert it exactly. It is adding square boxes inside PDF for some of the html contents.

tinasharma.proavid_1446568322_44502.pdf file is generated by Crowd API


and you can try generating from here as well: https://pdfcrowd.com/ for this WebPage: http://fax.re-mailapp.com/uploads/pdf/tinasharma.proavid_1446568322_44502.html

Please have a look for this case. Just FYI: I am using your paid version of API.
support wrote on 2015-11-05:
Hello,

This is because your HTML specifies the 'myriad Pro' font family which is not installed on our server. Try to specify another font or add a generic fallback font to the font-family list
font-family: 'myriad Pro', sans-serif;
kalyanrajiv wrote on 2015-11-05:
Hi,

We are providing service to our customers. They can use any font. We are converting email content in PDF. We do not have any control on the fonts they are using. So, can you please add such fonts in your library to avoid similar issues? or do you have any alternate solution by replacing font that you have or by some default font in our html source and than converting back it to PDF. How this sounds?

Regards,

Rajiv
kalyanrajiv wrote on 2015-11-06:
Hi,

We want to use PDF crowd API at large scale. I just want to know what would happen if font is not in your library. Would you please update me how pdf would be rendered in the case of missing fonts in your library? This will help me to take next step in my project.

Regards,

Rajiv
support wrote on 2015-11-09:
Hello Rajiv,

If the font is not installed on our server, our system will try the next one specified in the font-family list. If none of the fonts is available, a system default font will be used.