Re: [gtk-list] GdkFont: Getting ascent/descent for char
- From: Johan Hanson <johan obsession se>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GdkFont: Getting ascent/descent for char
- Date: Sat, 01 Apr 2000 01:14:10 +0200
Matthias Koester wrote:
>
> How can i get the ascent/descent of an individual char? Looking at the GDK
> doc, it seems to me, that there only exists functions to retieve the
> ascent/descent of the font. Or can i call the functions with a single char
> string to get the ascent/descent of the given char?
Yes, you can call the function with a single char and get the ascent
and descent for just that one-character string.
The ascent and descent in the font structure are MIN and MAX values for
all characters in the font.
Regards
/ Johan
-- johan@tiq.com -- http://www.obsession.se/johan/ --
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]