Font Metrics

CharlieB cdbiem at nospam.net
Mon Oct 11 09:37:01 PDT 2004


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?

Thanks,
Charlie




More information about the cups mailing list