Re: gdk font metrics
- From: Paul Davis <pbd Op Net>
- To: Allin Cottrell <cottrell wfu edu>
- Cc: gtk-list gnome org
- Subject: Re: gdk font metrics
- Date: Sat, 24 Feb 2001 17:33:26 -0500
>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]