I am converting HTML string to PDF, (latest version of aspose.pdf) In my HTML string there is a font tag like below,
(see attachment for the file/string i’m converting)
That is causing the following exception message,
The embedded font ‘univers’ is not found. Make sure that you set correct path to the font file.
Whereas on my local machine univers font is installed. ( i debug my project with VS local)
So 2 questions:
Is it possible to set a kind of property which overrules this font with a standard sytem font when not found??
Or how i can set the correct path?? I already set an .imgUrl property for my images but can’t find something for fonts
*update: found this property through your documentation : .IsFontNotFoundExceptionThrown
This one is set to default “False” but doesn’t work.I’m getting the error