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.
When my calculations turned out askew, I printed out the values
returned by gdk_char_width(), and I now see that they're _not_ the
same for, e.g. 'X' and 'x' even for a monospaced font.
Can anyone point me towards a function that returns the overall
horizontal space occupied by each character in a given monospaced
font? Thanks.
Allin Cottrell.
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list