Font family not working

Font family not working

Forum member · Jun 23, 2019
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

Re: Font family not working

Support · Jun 24, 2019
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 [^a|mailto:support@dynamicpdf.com|opennewwindow|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