Re: gnome-print and font height?
- From: Christopher James Lahey <clahey umich edu>
- To: Dietmar Maurer <dm vlsivie tuwien ac at>
- cc: "gnome-devel-list gnome org" <gnome-devel-list gnome org>
- Subject: Re: gnome-print and font height?
- Date: Wed, 7 Apr 1999 05:55:44 -0400 (EDT)
On Tue, 6 Apr 1999, Dietmar Maurer wrote:
> Does anybody know how to obtain the height, ascent and descent for a
> font in gnome-print (for the printer font, not for the gdk_font).
I don't believe that the concepts of ascent and descent exist in
gnome_fonts. They just have a height. I believe I approximate these by
assuming that 1/3 is the descent and 2/3 is the ascent, but I don't have
access to code right now, so I'm not sure.
There should be a gnome_font_height, but I'm not sure if that's the
correct function name.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]