PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 10:25 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Apr 29, 2018 12:54 pm 
Offline

Joined: Sun Apr 29, 2018 12:45 pm
Posts: 1
Hi there, first of all thank you for the great PDF library!

I was trying to generate raster images instead of pdf, but met some inconsistence behaviour. For example font underline property is ignored.
Im using code like this:

Code:
 var gdiGraphics = System.Drawing.Graphics.FromImage(bitmap);
XGraphics  graphics = XGraphics.FromGraphics(gdiGraphics, bitmap.Size);
// Drawing my stuff...
 

So when Im creating pdf, my text is underlined, when Im using this code and creating image, font is NOT underlined.


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 29, 2018 3:53 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 339
Hi!

If you think there is a bug then please use the IssueSubmissionTemplate.

See also:
viewtopic.php?f=2&t=832

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 129 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