I am currently attempting to create a PDF from HTML using Hiqpdf. Their website states that this dll supports font embedding, but I am encountering difficulties when trying to use fonts stored on my computer.
@font-face {
font-style:normal;
font-weight:normal;
font-family:f2generic;
src:url('C:/Users/myuser/AppData/Local/Temp/f2generic.otf') format("opentype");}
It seems like the issue might be with the path or the format of the font. In HTML, the fonts display correctly, but for some reason it's not working with the PDF conversion.
I have confirmed that the htmlToPdfConverter.Document.FontEmbedding property is set to true, so I am unsure why it is not functioning properly.
Any help or insight would be greatly appreciated.