Intolerable difference in glyph width: font=vnbx12

Tom Kacvinsky tkacvins at gmail.com
Sat Nov 13 19:36:33 CET 2021


On Sat, Oct 23, 2021 at 5:07 AM Werner LEMBERG <wl at gnu.org> wrote:

>
> >  > Yes.  Ideally, the values are rational approximations, similar to
> >  > what is done in the cmsuper fonts, for example
> >  >
> >  >   41 4913 10 div hsbw
> >
> > But maybe we can reduce the rounding errors even more if we try with
> > other denominators than 10 for each glyph and choose that which
> > matches best.
>
> Yes.  Note, however, that denominator 10 *is* the best approximation
> for the decimal value you have shown, even if you base everything on a
> continued fraction.
>

So I started on this today and I have forgotten the format of PL files.  I
see the CHARACTER  tokens, which have only a character code, not
a glyph name, so I need to sort that out between the PFB and TFM.  OK,
no problem there.  What is confusing is where does one get the horizontal
side bearing (hsbw in Type parlance) from the PL file?  I don't see that, I
only see CHARHT and CHARWD.

Please forgive my bad memory!

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20211113/39cd2054/attachment.html>


More information about the tex-live mailing list.