Measuring position of each character in drawn string



   I'm trying to measure where GDK will draw each character in a string. The
gdk_char_width function could be called for each character but because of
kerning this could give different positions than drawing the text in one
call. It may also be less efficient.

   Is there a call to retrieve all the positions at once? Is there access to
lower level font data so I can calculate this myself?

   Neil Hodgson



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