[Fontinst] font expansion feature of pdftex
Ulrich Dirr
ud at art-satz.de
Mon Aug 11 17:52:29 CEST 2003
Hi,
recently I've setup some Type-1 fonts for use in TeX with files supplied
by Walter Schmidt (http://home.vr-web.de/was/fonts.html).
Minion, e.g., uses a virtual font pmnr9d which maps to pmnr8r and pmnr8x
respectively. Well, everything worked fine until I decided to use some
small font expansion (up to \pm 2/1000) with pdftex.
Until now I succeeded to use fontinst for this goal only with 'single'
or 'flat' fonts like below.
---snip---
\input fontinst.sty
\declareencoding{FONTSPECIFIC}{uli}
\transformfont{AJenR}{\xscalefont{1000}{\frompl{AJen}}}
\transformfont{AJen+20}{\xscalefont{1020}{\frompl{AJen}}}
\transformfont{AJen+15}{\xscalefont{1015}{\frompl{AJen}}}
\transformfont{AJen+10}{\xscalefont{1010}{\frompl{AJen}}}
\transformfont{AJen+5}{\xscalefont{1005}{\frompl{AJen}}}
\transformfont{AJen-5}{\xscalefont{995}{\frompl{AJen}}}
\transformfont{AJen-10}{\xscalefont{990}{\frompl{AJen}}}
\transformfont{AJen-15}{\xscalefont{985}{\frompl{AJen}}}
\transformfont{AJen-20}{\xscalefont{980}{\frompl{AJen}}}
\bye
---snip---
and after that
---snip---
\input fontinst.sty
\installfonts
\installrawfont{AJen}{AJenR,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+40}{AJen+40,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+35}{AJen+35,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+30}{AJen+30,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+25}{AJen+25,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+20}{AJen+20,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+15}{AJen+15,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+10}{AJen+10,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen+5}{AJen+5,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen-5}{AJen-5,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen-10}{AJen-10,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen-15}{AJen-15,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\installrawfont{AJen-20}{AJen-20,AJen}{uli}{LY1}{ajmm}{m}{n}{}
\endinstallfonts
\bye
---snip---
So finally my question: How can I generate the needed tfm's for pdftex?
Best regards,
Ulrich Dirr
P.S. beginning of pmnr9d.vpl looks like this
(VTITLE )
(FAMILY UNSPECIFIED)
(FACE F MRR)
(CODINGSCHEME EXTENDED TEX FONT ENCODING - LATIN)
(DESIGNSIZE R 10.0)
(COMMENT DESIGNSIZE IS IN POINTS)
(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE)
(CHECKSUM O 22331710075)
(FONTDIMEN
(SLANT R 0.0)
(SPACE R 0.23)
(STRETCH R 0.138)
(SHRINK R 0.055)
(XHEIGHT R 0.434)
(QUAD R 1.0)
(EXTRASPACE R 0.055)
(PARAMETER D 8 R 0.65)
(PARAMETER D 9 R 0.71)
(PARAMETER D 10 R 0.81)
(PARAMETER D 11 R 0.242)
(PARAMETER D 12 R 0.812)
(PARAMETER D 13 R 0.25)
(PARAMETER D 14 R 0.48)
(PARAMETER D 15 R 0.0)
(PARAMETER D 16 R 1.2)
)
(MAPFONT D 0
(FONTNAME pmnr8r)
(FONTCHECKSUM O 32365565202)
(FONTAT R 1.0)
(FONTDSIZE R 10.0)
)
(MAPFONT D 1
(FONTNAME pmnr8x)
(FONTCHECKSUM O 15665133022)
(FONTAT R 1.0)
(FONTDSIZE R 10.0)
)
[...]
More information about the fontinst
mailing list