PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Font resolver and errors
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3274
Page 1 of 1

Author:  seeker25 [ Tue Jan 19, 2016 12:36 am ]
Post subject:  Font resolver and errors

Just wanted to let you guys know I discovered a problem when moving machines.


I was using an image file to be rendered from my local computer, when moving the my binary that uses PDFsharp & MigraDoc from my local computer onto another computer I had forgotten to bring this image over.

Since I had forgotten to bring this image over, there had been text generated in it's place that would print an error. This would only happen because the image file wasn't on the computer. It would try to resolve the font "Courier New", which isn't part of my fonts included in my custom font resolver.

This was tricky because it was resolving a font that I didn't have, because the hard coded default is Courier New, thus I couldn't see the image error it was creating.


On a side note, thank you for providing PDFSharp & MigraDoc. They are amazing.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/