PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Sep 23, 2018 7:51 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Font resolver and errors
PostPosted: Tue Jan 19, 2016 12:36 am 
Offline

Joined: Tue Jan 19, 2016 12:16 am
Posts: 7
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group