need some guru's help

Sebastian Ahrens ahrens@geniusbytes.de
Thu, 20 Jun 2002 15:17:33 +0200


Hi everybody,

I am trying to install the AdobeGaramond with Oldstyle-Figures and Expert
glyphs; I have chosen to simply use the BoldOsF, BoldItalicOsF and ItalicOsF
fonts and therefore only with the Roman fonts I have to do the exchange of
the digits. With my fontinst.tex file as below everything works fine, only
the ff, ffi and ffl ligatures are not getting found. In every vpl-file
fontinst is creating I find twice C f instead of the LIG entry. The
ligatures are in the pfb and afm files only the charcode is above D 256 and
in the afm file the lines start with C -1:

****************************************

StartFontMetrics 2.0
Comment Copyright (c) 1989, 1992, 1994 Adobe Systems Incorporated.  All
Rights Reserved.Adobe Garamond is a registered trademark of Adobe Systems
Incorporated.
FullName AGaramondExp-Regular
FontName AGaramondExp-Regular
FamilyName Adobe Garamond
ItalicAngle  0.0
IsFixedPitch false
CharacterSet Special
FontBBox -183 -246 955 715
EncodingScheme FontSpecific
CapHeight 720
UnderlinePosition -100
UnderlineThickness 50
Ascender 720
Descender -270
XHeight 720
StartCharMetrics 165
C 32 ; WX 250 ; N space ; B -183 -246 955 715 ;
C 44 ; WX 250 ; N comma ; B -183 -246 955 715 ;
C 45 ; WX 320 ; N hyphen ; B -183 -246 955 715 ;
C 46 ; WX 250 ; N period ; B -183 -246 955 715 ;
C 58 ; WX 250 ; N colon ; B -183 -246 955 715 ;
C 59 ; WX 250 ; N semicolon ; B -183 -246 955 715 ;
C 178 ; WX 360 ; N twosuperior ; B -183 -246 955 715 ;
C 179 ; WX 360 ; N threesuperior ; B -183 -246 955 715 ;
C 185 ; WX 360 ; N onesuperior ; B -183 -246 955 715 ;
C 188 ; WX 780 ; N onequarter ; B -183 -246 955 715 ;
C 189 ; WX 780 ; N onehalf ; B -183 -246 955 715 ;
C 190 ; WX 780 ; N threequarters ; B -183 -246 955 715 ;
C -1 ; WX 200 ; N exclamsmall ; B -183 -246 955 715 ;
...
C -1 ; WX 424 ; N nsuperior ; B -183 -246 955 715 ;
C -1 ; WX 387 ; N osuperior ; B -183 -246 955 715 ;
C -1 ; WX 272 ; N rsuperior ; B -183 -246 955 715 ;
C -1 ; WX 268 ; N ssuperior ; B -183 -246 955 715 ;
C -1 ; WX 270 ; N tsuperior ; B -183 -246 955 715 ;
C -1 ; WX 558 ; N ff ; B -183 -246 955 715 ;
C -1 ; WX 522 ; N fi ; B -183 -246 955 715 ;
C -1 ; WX 522 ; N fl ; B -183 -246 955 715 ;
C -1 ; WX 790 ; N ffi ; B -183 -246 955 715 ;
C -1 ; WX 789 ; N ffl ; B -183 -246 955 715 ;

**********************snip***********************


If I change that lines to "C 289 ; WX 558 ; N ff ; B -183 -246 955 715 ;"
etc. the result equals nothing. What did I miss with fontinst? Any
hints/help is appreciated


Thanks and best regards


Sebastian




Below is my fontinstall.tex file

% file fontinst.tex

\input fontinst.sty

\installfonts

\transformfont{fagr8r}{\reencodefont{8r}{\fromafm{fagr8a}}}
\transformfont{fagri8r}{\reencodefont{8r}{\fromafm{fagri8a}}}
\transformfont{fagb8r}{\reencodefont{8r}{\fromafm{fagb8a}}}
\transformfont{fagbi8r}{\reencodefont{8r}{\fromafm{fagbi8a}}}
\transformfont{fagrc8r}{\reencodefont{8r}{\fromafm{fagrc8a}}}
\transformfont{fagbc8r}{\reencodefont{8r}{\fromafm{fagbc8a}}}

\transformfont{fagr8x}{\fromafm{fagr8x}}
\transformfont{fagri8x}{\fromafm{fagri8x}}
\transformfont{fagb8x}{\fromafm{fagb8x}}
\transformfont{fagbi8x}{\fromafm{fagbi8x}}

\reglyphfonts
  \input csc2x
  \reglyphfont{fagrcx8r}{fagrc8r}
  \reglyphfont{fagbcx8r}{fagbc8r}
\endreglyphfonts

\installfamily{OT1}{fagrj}{}
\installfamily{T1}{fagrj}{}
\installfamily{TS1}{fagrj}{}


% Familie fagrj - normal mit expert und SC, OsF Standard
\installfont{fagr9o}{fagr8r,fagr8x,unsetnum,kernoff,fagrc8r,kernon,latin}{OT
1}{OT1}{fagrj}{m}{n}{}
\installfont{fagr9d}{fagr8r,fagr8x,unsetnum,kernoff,fagrc8r,kernon,latin}{T1
}{T1}{fagrj}{m}{n}{}
\installfont{fagr9c}{fagr8r,fagr8x,fagrcx8r,textcomp}{TS1}{TS1}{fagrj}{m}{n}
{}

\installfont{fagrc9o}{fagrc8r,unsetnum,kernoff,fagrc8r,kernon,latin}{OT1}{OT
1}{fagrj}{m}{sc}{}
\installfont{fagrc9d}{fagrc8r,unsetnum,kernoff,fagrc8r,kernon,latin}{T1}{T1}
{fagrj}{m}{sc}{}

\installfont{fagri9o}{fagri8r,fagri8x,latin}{OT1}{OT1}{fagrj}{m}{it}{}
\installfont{fagri9d}{fagri8r,fagri8x,latin}{T1}{T1}{fagrj}{m}{it}{}
\installfont{fagri9c}{fagri8r,fagri8x,textcomp}{TS1}{TS1}{fagrj}{m}{it}{}

\installfont{fagb9o}{fagb8r,fagb8x,latin}{OT1}{OT1}{fagrj}{b}{n}{}
\installfont{fagb9d}{fagb8r,fagb8x,latin}{T1}{T1}{fagrj}{b}{n}{}
\installfont{fagb9c}{fagb8r,fagb8x,textcomp}{TS1}{TS1}{fagrj}{b}{n}{}

\installfont{fagbc9o}{fagbc8r,latin}{OT1}{OT1}{fagrj}{b}{sc}{}
\installfont{fagbc9d}{fagbc8r,latin}{T1}{T1}{fagrj}{b}{sc}{}

\installfont{fagbi9o}{fagbi8r,fagbi8x,latin}{OT1}{OT1}{fagrj}{b}{it}{}
\installfont{fagbi9d}{fagbi8r,fagbi8x,latin}{T1}{T1}{fagrj}{b}{it}{}
\installfont{fagbi9c}{fagbi8r,fagbi8x,textcomp}{TS1}{TS1}{fagrj}{b}{it}{}

\endinstallfonts


\bye