Re: text width



On Sat, Aug 20, 2005 at 10:03:48AM -0700, Alexander Kresin wrote:
> 
>  could someone advise me how to determine the width of
> a text string with a selected font ?

    font.get_width_utf8(text)

where font is the gnomeprint.Font instance.

Alex

-- 
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

Attachment: signature.asc
Description: Digital signature



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