Re: gdk font metrics



>I've been trying to make certain sizing calculations based on the
>return value from gdk_char_width(), on the assumption that if the font
>is monospaced the value would be the same for all glyphs, so that I
>could use, say, 'X', as an exemplar.

use gdk_string_extents() instead, and save yourself the hassle.

--p




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