Re: PangoFontMetrics: approximate_[char|digit]_width
- From: James Henstridge <james daa com au>
- To: Havoc Pennington <hp redhat com>
- Cc: Sven Neumann <sven gimp org>, gtk-devel-list gnome org
- Subject: Re: PangoFontMetrics: approximate_[char|digit]_width
- Date: Mon, 5 Mar 2001 13:29:28 +0800 (WST)
On 4 Mar 2001, Havoc Pennington wrote:
> > Especially in this case (most prominently GtkSpinButtons) I'd
> > say that using a max value would make much more sense than
> > using an average.
> >
>
> You're probably right here, since the max of those 10 digits won't
> ever be huge, as the max of the characters may be.
For numbers it shouldn't be much of a problem, as most fonts make all the
digits the same width (so things line up nicely.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]