Font Metrics

CharlieB cdbiem at nospam.net
Mon Oct 11 09:39:04 PDT 2004


CharlieB wrote:
> Helge Blischke wrote:
> > CharlieB wrote:
> > >
> > > In the ppd_file_t structure there is a list of availiable fonts. 35 in my case. How do I get the font metrics (or at least the char widths) for these fonts so I can generate the PostScript file?
> > >
> > > I am running Linux.
> > >
> > > Thanks in advance,
> > > Charlie
> >
> > As long as you don't use kerning, you don't need special font
> > metrics information. Everything you need is accessible to the
> > PostScript interpreter.
> >
> > What is your problem?
> >
> I want to know the widths of the chars so I can do line wrapping, etc. Is there a way to get the font metrics?

Oh, I need underline positioning also.
>
> Thanks,
> Charlie





More information about the cups mailing list