Subject: Re: our postscript code
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Wed Jan 31 2001 - 18:57:59 CST
> > (1) we only need the afm files to get the ascent and descent of a
> > font and the character widths. All three of these are readily
> > available from the X font server, the former two as XFontStruct-
> > >ascend, XFontStruct->descend, the third as XCharStruct->width.
> > The only other thing that we retrieve from the file, if I am not
> > mistaken, is fontname, which we can easily provide as well.
> >
> > The best thing to do is, I think, to modify
> > xap_UnixFont::getMetricsData(), so that if it cannot find the afm
> > file, it would get the information from the X font server.
> >
>
>Ahh this is great. With this in place we can support a lot more fonts.
Well, let me tell you what I remember from my work on the GnomePrint driver
- we don't need the ascent and descent of the fonts. We really need the
bbox.uri and such - gtk and gdk don't report this info back to us. We may or
may not be able to get away with this. But you're more than welcome to try
Dom
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
This archive was generated by hypermail 2b25 : Wed Jan 31 2001 - 18:58:03 CST