Re: text width



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
> gnome-print-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-print-list
>





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