> You need to call pango_cairo_context_set_resolution to do this (on the Pango 
> context). You can get the resolution easily through the Screen.Resolution 
> property of a Gtk.Widget.

Changing

        Pango.Layout layout = Pango.CairoHelper.CreateLayout(cc);

to

        Pango.Layout layout=Pango.CairoHelper.CreateLayout(cc);
        Pango.CairoHelper.ContextSetResolution(layout.Context,72);

did solve the Problem.


Elmar
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to