Re: GtkPrint PangoLayout extents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-08-17 at 09:27 -0400, Francisco Moraes wrote:
> Hi,
> 
> I am trying to use the new GtkPrint from GTK 2.10. I am creating a pango
> layout from the cairo reference, setting the font and text and calling
> pango_layout_get_pixel_extents. This seems to work well, except that the
> 
> returned width seems to be about twice of what it is printed either on
> preview or in the output page in the printer.
> 
> Is this correct or is there a better way to figure out the text extents when
> using Pango?

try using the ink extents variant.


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux