Re: text width

[email protected] Sun, 21 Aug 2005 07:39:51 +0200 (CEST)
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
hi,

and if you are accessing pango directly, you can also use the helper
function:

pango_layout_get_pixel_size(layout, &width, &height)

will return the width and height of the string you have drawn to layout,
pretty handy, really.

richard

> Hi All,
>
>  could someone advise me how to determine the width of
> a text string with a selected font ?
>
>  Regards,
>  Alexander Kresin
>  http://kresin.belgorod.su
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
> _______________________________________________
> gnome-print-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnome-print-list
>