Lars Hellström
Mon, 27 Aug 2001 19:33:01 +0200

At 20.15 +0200 2001-08-26, B. & C. van der Hoeff wrote:
>----- Original Message -----
>From: "Lars Hellström" <>
>To: "B. & C. van der Hoeff" <>
>Cc: "Fontinst-Mailinglist" <>
>Sent: Sunday, August 26, 2001 2:57 PM
>Subject: Re:
>> You could try using xfntinst.sty instead---that contains some
>variant code
>> which was intended for cases like this.
>Unfortunately, it did not work :-(
>> If that doesn't work then you'll
>> have to use the \installfont command to make the fonts, which
>shouldn't be
>> too hard as the main reason \latinfamily fails is that it isn't
>looking for
>> the fonts you have.
>I am lost here because I cannot find a proper example. How do I
>create the `psbx' and `psbj' equivalents by using the \installfonts

As you don't seem to have any expert fonts in the family, there is no need
to create a psbx family. As for the psbj family, most of the \installfont
commands should look like


  #1: name of VF to create
  #2: name of (reencoded) base font(s) to base it on
  #3: LaTeX series
  #4: LaTeX shape

Thus you get for example


and the corrsponding lines for OT1 would be


Note that you should not use t1c, t1j, or any of the other variants instead
of t1 here as those assume that the glyphs have their proper names instead
of (as is the case with your fonts) the closest equivalent found in Adobe's
StandardEncoding. (Adobe likes to use that whenever they can as some of the
features in type 1 fonts aren't available for glyphs not in this encoding.)

The only tricky case is that of the nonitalic regular weight font, as that
doesn't contain all the glyphs you need. If you have fontinst v1.9 then you
can use \reglyphfont to manufacture a fake expert font from the smallcaps
font as has been described previously on this list. Otherwise you can make
it work with a bit of editing. First make all the 8r-encoded fonts you will
need on one fontinst run.

\input fontinst.sty

should do that for you. You should replace 167 by the italic slant of your
raw italic fonts (look in e.g. psbri8a.mtx for this number). Then open the
MTX files with a c in their names and copy the lines which say


or any of the other digit glyph names (one, two, ...), paste them into the
corresponding file without a c in its name, and append an `oldstyle' to
each of these glyph names in the new lines, to viz.


After that, the line


should make you normal and slanted shapes with oldstyle digits instead of
the lining ones. Here you need to use t1j to get the glyphs that you want
put in the font.

A final note concerning bold smallcaps: There is no real such font, so
you'll probably want to fake it. That is done as


To make this fake smallcaps go reasonably well with the real one you'll
probably have to adjust the factor by which the capitals are scaled to fake
the smallcaps. This can be done by including the command


in your command file BEFORE the \installfonts command. A suitable value for
<factor> is 1000*XHeight/CapHeight, where XHeight and CapHeight are those
font parameters from psbrc8a.afm.

As for the TS1 encoded fonts, there is no difference between oldstyle and
non-oldstyle fonts there. You can use the same fonts as you've presumably
already generated for the psb family. Copying the FD file and changing all
{psb} in the copy to {psbj} should accomplish this.

Lars Hellström