I'm trying to use PDFSharp and MigraDoc within a Mono project on OS X. Using the Core PDF version 1.50 beta available through NuGet (3638), I'm able to set a custom FontResolver (as per Alex's page at
http://www.alex-maz.info/pdfsharp_150 ) and it totally works but..
There's an issue with Mono on OS X when using any methods which initialise GDI+ - it causes the font cache to be updated which can lead to a delay of seconds to minutes before execution resumes. This is something that has caused us issues in the past, on some Mac systems this wait is significant and we need a way to avoid this happening(!)
The GDI+ initialisation issue triggered using the Core PDF verions 1.50 (and using a custom FontResolver), which appears to suggest somewhere in PDFSharp or MigraDoc there is some use of GDI+ methods. I could be completely wrong, it might be to do with opening TTF fonts, so I tried replacing the TTF font with OTF ones but they didn't load.
If the source code for 1.50 is available it would really help resolve this issue, unless you have any ideas on how to stop *any* GDI+ initialisation happening?
Keep up the great work guys!
![Smile :)](./images/smilies/icon_smile.gif)
Many Thanks,
Dave