Re: gnome-print and font height?

Christopher James Lahey wrote:

> 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

I'm unable to find such function (although this Information is contained in
the GlobalFontInfo structure (parseAFM), it is not accessable within


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]