[Mono-list] FontSize on PdfSurface

Elmar Haneke elmar at haneke.de
Wed May 28 04:41:09 EDT 2008


> I personally use something like this :
> 
> [...]
> Pango.Layout layout = printContext.CreatePangoLayout();
> 
> layout.FontDescription = Pango.FontDescription.FromString("Times New
> Roman 10");


I'm not using Gtk Printing.

See sample attached. In the resulting PDF the fontsize is not correct.

Elmar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrintTest.cs
Type: text/x-csharp
Size: 1244 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080528/5c25fa2c/attachment.bin 


More information about the Mono-list mailing list