[Fontinst] Multiple Master Fonts and the Width Axis

Christopher Adams chris at raysend.com
Fri May 14 09:51:31 CEST 2010


Hi Lars,

Thanks for your help as always.

2010/5/14 Lars Hellström <Lars.Hellstrom at residenset.net>

> Christopher Adams skrev:
>
>> What I don't see support for in fontinst is MM instances generated along
>> the
>
> width axis for use in font expansion.
>>
>
> If you're using \installfont level commands, you simply need to write more
> of them (because you want to generate more fonts).
>

What should the \installfont commands look like? Something like this?

\installfont{pmnr8t12}{pmnr8r12,newlatin}{t1}{T1}{pmn}{m}{n}{}
\installfont{pmnr8t12-20}{pmnr8r12-20,newlatin}{t1}{T1}{pmn}{m-20}{n-20}{}
\installfont{pmnr8t12+20}{pmnr8r12+20,newlatin}{t1}{T1}{pmn}{m+20}{n+20}{}


> The only thing I can think of that might be potentially problematic is that
> the above generates NFSS declarations for all the font widths: there's an m
> series, a b series, an m+5 series, a b+5 series, an m+10 series, and so
> on...


I also took note of the fact that the Thanh states:

Similar to Type 1 fonts, only the entry for the base font is needed in map
> files:


> pmnr8y12 MinionMM_400_535_12_   <texnansi.enc <pmnr8a12.pfb


Following this instruction, I removed the other two widths from the map file
before installing it.

Of course, I can get Minion installed, but microtype doesn't seem to
discover the expanded instances. If I use the auto=false option, which is
supposed to force the package to use the really-existing expansion steps, as
in:

\usepackage[auto=false,shrink=20,stretch=20,step=20]{microtype}


pdfLaTex tries and fails to generate some different font on the fly using
MetaFont. I've pasted the error below.

I should note in closing that before writing to this list, I tried
installing the fonts manually using afm2tfm and writing the .fd file by
hand.

That failed with the same error below. I thought I might be doing something
wrong in generating the tfms, and that I should rely on fontinst instead.
However, I'm no closer to a solution.

I'm going to post the

= = =

(/usr/share/texmf-texlive/tex/latex/microtype/microtype.cfg))
(./MinionMM.aux)
(/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-texlive/tex/latex/microtype/mt-cmr.cfg)kpathsea: Running
mktextfm ecrm1200+20
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ecrm1200+20
This is METAFONT, Version 2.71828 (Web2C 7.5.6)

kpathsea: Running mktexmf ecrm1200+20
! I can't find file `ecrm1200+20'.
<*> ...our; mag:=1; nonstopmode; input ecrm1200+20

Please type another input file name
! Emergency stop.
<*> ...our; mag:=1; nonstopmode; input ecrm1200+20

Transcript written on mfput.log.
grep: ecrm1200+20.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input
ecrm1200+20' failed to make ecrm1200+20.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font csnameendcsname=ecrm1200+20 at 12.0pt not loadable: Metric (TFM) file
no
t found.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/fontinst/attachments/20100514/8bb35075/attachment.html>


More information about the fontinst mailing list