Bad Font File Exception
Brought to you by:
dogcane
In the Mthod pdfTrueTypeFont.createFontSubset I get a dump:
An unhandled exception of type 'sharpPDF.Exceptions.pdfBadFontFileException' occurred in sharppdf.dll
Additional information: The font file is bad formatted
The font I'm trying to use works fine with other applications, like Word or PDF profecional.
The font read gives a _usedCharacters.Count of 63 while the loop only works the fist time.
Putting a try/catch around the loop resulted in a empty document for the tekt parts I added with the font.
I added the font to teh PDF using the addTrueTypeFont wich works for other fonts.
I attached the font I used.
Font used to get the dump