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

Rendering to Graphics instead of PDF: font underline issue
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3780
Page 1 of 1

Author:  Arthur S. [ Sun Apr 29, 2018 12:54 pm ]
Post subject:  Rendering to Graphics instead of PDF: font underline issue

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.

Author:  () => true [ Sun Apr 29, 2018 3:53 pm ]
Post subject:  Re: Rendering to Graphics instead of PDF: font underline iss

Hi!

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

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

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