Im using the GDI+ version of PdfSharp on a project that generates PDF from user input.
The system needs to have custom fonts available which will need to be embedded into the PDF, all these fonts are already preinstalled on the server.
The trouble I'm having is that on every font I use the PDF generated says that it has correctly embedded (in font preferences) but the actual Glyphs Embedded are ones from the AdobeSans Font.
I have already defined both: gfx.MFEH = PdfFontEmbedding.Automatic and New XPdfFontOptions(PdfFontEncoding.Unicode, PdfFontEmbedding.Always).
All the fonts that I am using have the "installable" embed settings.
Before generating the PDF I am creating a low-res jpeg of the PDF fonts in this appear correctly, so i know the fonts are all correctly installed.
I have tried Type1, TrueType and OpenTypes fonts all with the same issue.
Is there anything I'm missing about fonts that are allowed to be embedded?
I've attached the Preflight Font Inventory that uses a this font
http://www.dafont.com/black-adder2.font as you can see the Glyphs are completely wrong.
Thanks in advance
dtc