<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 23, 2021 at 5:07 AM Werner LEMBERG <<a href="mailto:wl@gnu.org">wl@gnu.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
>  > Yes.  Ideally, the values are rational approximations, similar to<br>
>  > what is done in the cmsuper fonts, for example<br>
>  ><br>
>  >   41 4913 10 div hsbw<br>
> <br>
> But maybe we can reduce the rounding errors even more if we try with<br>
> other denominators than 10 for each glyph and choose that which<br>
> matches best.<br>
<br>
Yes.  Note, however, that denominator 10 *is* the best approximation<br>
for the decimal value you have shown, even if you base everything on a<br>
continued fraction.<br></blockquote><div><br></div><div>So I started on this today and I have forgotten the format of PL files.  I</div><div>see the CHARACTER  tokens, which have only a character code, not</div><div>a glyph name, so I need to sort that out between the PFB and TFM.  OK,</div><div>no problem there.  What is confusing is where does one get the horizontal</div><div>side bearing (hsbw in Type parlance) from the PL file?  I don't see that, I</div><div>only see CHARHT and CHARWD.</div><div><br></div><div>Please forgive my bad memory!</div><div><br></div><div>Tom</div><div><br></div></div></div>