Forums

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1.x)  /  Font family not working

Forum Thread - Font family not working

 Jun 23 2019 9:33 AM
Hello,

I am trying to convert a html to pdf in winform using the "Converter. ConvertHtmlString()" . But some font-family are not working  especially "WinSoft Pro" which is specified in CSS. I've tried both otf and ttf.   This font is installed in my PC.

Running the html in browser works fine.

Is there any specific list of font which works with "DynamicPdf Converter"  or is there any way to make it work ?



Thanks in advance,
Best regards,
Viswajith
 Jun 24 2019 7:52 AM
Posted by a ceTe Software moderator
Hello Viswajith,
 
We tested this on our end using version 2 of DynamicPDF Converter for .NET. We are able to generate PDFs using the HTML file and were able to see that the specified font in the CSS is embedded in the output PDF. 
 
You can download a BETA of version 2 from our website here.  Uninstall the older version of DynamicPDF Converter product. Install the version 2 using the downloaded installer file. Remove your reference to the older DLL and reference the latest in your application.
 
If you continue seeing similar behavior even after using the version 2 then please send over the following information to support@dynamicpdf.com so we can look into it further.
 
1.        Font files.
2.        HTML file.
3.        Output PDF.
4.        Code sample which uses static data to recreate the behavior.
5.        Are you seeing this behavior only with a specific font file or with all font files? If you have not tried using other fonts then please try some other fonts and let us know the results.
 
Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 8:28 AM.