PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
PdfSharp.Drawing.XFont wrong unit http://forum.pdfsharp.com/viewtopic.php?f=2&t=4113 |
Page 1 of 1 |
Author: | knuckles [ Mon Mar 16, 2020 7:11 pm ] |
Post subject: | PdfSharp.Drawing.XFont wrong unit |
Hello, I think that the XFont constructors taking "double em" are actually treating this number as "pt" (that is 12 * em value). I noticed that while converting from MigraDoc Font to PdfSharp XFont and drawing some text inside a XRect. Could you please check that? I am using lastest PDFSharp + Migradoc + GDI NuGet package (1.50.5147) |
Author: | TH-Soft [ Mon Mar 16, 2020 10:58 pm ] |
Post subject: | Re: PdfSharp.Drawing.XFont wrong unit |
knuckles wrote: Hello, I think that the XFont constructors taking "double em" are actually treating this number as "pt" (that is 12 * em value). I had a quick look at the source and I don't think there is a bug.
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |