[Fontinst] Bug in fontinstversion{1.927}

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jan 1 13:28:02 CET 2005


Hello!

These are my statements to install Lucida Sans Typewriter in T1  
encoding:

   \transformfont{slsrt8r}    {\reencodefont{8r}   {\fromafm{slsrt8a}}}
   \transformfont{slsrot8r}   {\reencodefont{8r}   {\fromafm{slsrot8a}}}
   \transformfont{slsbt8r}    {\reencodefont{8r}   {\fromafm{slsbt8a}}}
   \transformfont{slsbot8r}   {\reencodefont{8r}   {\fromafm{slsbot8a}}}
%%%
\installfonts
   \installfamily{T1} {slst}{\hyphenchar\font=-1}
   \installfont  {slsrt8t}  {slsrt8r,newlatin}            {t1}  
{T1}{slst}{m}{n}{}
   \installfont  {slsrct8t} {slsrt8r,newlatin}             
{t1c}{T1}{slst}{m}{sc}{}
%
   \installfont  {slsbt8t}  {slsbt8r,newlatin}            {t1}  
{T1}{slst}{b}{n}{}
   \installfont  {slsbct8t} {slsbt8r,newlatin}             
{t1c}{T1}{slst}{b}{sc}{}
%
   \installfont  {slsrot8t}{slsrot8r,newlatin option nosc}{t1}  
{T1}{slst}{m}{sl}{}
%
   \installfont  {slsbot8t}{slsbot8r,newlatin option nosc}{t1}  
{T1}{slst}{b}{sl}{}
\endinstallfonts

The log file contains these warnings:

	Warning: missing glyph `Eng'.
	Warning: missing glyph `eng'.

although in shell I at least get:

	pete 191 /\ grep -iw eng *.mtx
	slsbot8a.mtx:\setnotglyph{Eng}{slsbot8a}{10pt}{-1}{750}{723}{205}{0}
	slsbot8a.mtx:\setnotglyph{eng}{slsbot8a}{10pt}{-1}{750}{542}{205}{0}
	slsbot8r.mtx:\setscalednotglyph{Eng}{slsbot8r}{10pt}{1000}{ 
-1}{750}{723}{205}{0}
	slsbot8r.mtx:\setscalednotglyph{eng}{slsbot8r}{10pt}{1000}{ 
-1}{750}{542}{205}{0}
	slsbt8a.mtx: \setnotglyph{Eng}{slsbt8a}{10pt}{-1}{603}{723}{205}{0}
	slsbt8a.mtx: \setnotglyph{eng}{slsbt8a}{10pt}{-1}{603}{542}{205}{0}
	slsbt8r.mtx:  
\setscalednotglyph{Eng}{slsbt8r}{10pt}{1000}{-1}{603}{723}{205}{0}
	slsbt8r.mtx:  
\setscalednotglyph{eng}{slsbt8r}{10pt}{1000}{-1}{603}{542}{205}{0}
	slsrot8a.mtx:\setnotglyph{Eng}{slsrot8a}{10pt}{-1}{750}{723}{205}{0}
	slsrot8a.mtx:\setnotglyph{eng}{slsrot8a}{10pt}{-1}{750}{542}{205}{0}
	slsrot8r.mtx:\setscalednotglyph{Eng}{slsrot8r}{10pt}{1000}{ 
-1}{750}{723}{205}{0}
	slsrot8r.mtx:\setscalednotglyph{eng}{slsrot8r}{10pt}{1000}{ 
-1}{750}{542}{205}{0}
	slsrt8a.mtx: \setnotglyph{Eng}{slsrt8a}{10pt}{-1}{603}{723}{205}{0}
	slsrt8a.mtx: \setnotglyph{eng}{slsrt8a}{10pt}{-1}{603}{542}{205}{0}
	slsrt8r.mtx:  
\setscalednotglyph{Eng}{slsrt8r}{10pt}{1000}{-1}{603}{723}{205}{0}
	slsrt8r.mtx:  
\setscalednotglyph{eng}{slsrt8r}{10pt}{1000}{-1}{603}{542}{205}{0}
	pete 192 /\ grep -iw eng *.afm
	slsbot8a.afm:C -1 ; WX 750 ; N Eng ; B 54 -205 693 723 ;
	slsbot8a.afm:C -1 ; WX 750 ; N eng ; B 69 -205 618 542 ;
	slsbt8a.afm: C -1 ; WX 603 ; N Eng ; B 54 -205 548 723 ;
	slsbt8a.afm: C -1 ; WX 603 ; N eng ; B 69 -205 539 542 ;
	slsrot8a.afm:C -1 ; WX 750 ; N Eng ; B 72 -205 675 723 ;
	slsrot8a.afm:C -1 ; WX 750 ; N eng ; B 89 -205 597 542 ;
	slsrt8a.afm: C -1 ; WX 603 ; N Eng ; B 72 -205 530 723 ;
	slsrt8a.afm: C -1 ; WX 603 ; N eng ; B 89 -205 517 542 ;

In t1.etx they're documented as being in the slots 141 and 173 in which  
I can see:

	pete 193 /\ egrep '141|173' *.mtx
	slsbot8a.mtx:\setrawglyph{.notdef}{slsbot8a}{10pt}{141}{750}{625}{0}{0}
	slsbot8a.mtx:\setrawglyph{sfthyphen}{slsbot8a}{10pt}{173}{750}{349}{ 
-259}{0}
	slsbot8r.mtx: 
\setscaledrawglyph{Omega}{slsbot8r}{10pt}{1000}{141}{750}{741}{0}{0}
	slsbt8a.mtx:\setrawglyph{.notdef}{slsbt8a}{10pt}{141}{603}{625}{0}{0}
	slsbt8a.mtx:\setrawglyph{sfthyphen}{slsbt8a}{10pt}{173}{603}{349}{ 
-259}{0}
	slsbt8r.mtx: 
\setscaledrawglyph{Omega}{slsbt8r}{10pt}{1000}{141}{603}{741}{0}{0}
	slsrot8a.mtx:\setrawglyph{.notdef}{slsrot8a}{10pt}{141}{750}{625}{0}{0}
	slsrot8a.mtx:\setrawglyph{sfthyphen}{slsrot8a}{10pt}{173}{750}{337}{ 
-265}{0}
	slsrot8r.mtx: 
\setscaledrawglyph{Omega}{slsrot8r}{10pt}{1000}{141}{750}{741}{0}{0}
	slsrt8a.mtx:\setrawglyph{.notdef}{slsrt8a}{10pt}{141}{603}{625}{0}{0}
	slsrt8a.mtx:\setrawglyph{sfthyphen}{slsrt8a}{10pt}{173}{603}{337}{ 
-265}{0}
	slsrt8r.mtx: 
\setscaledrawglyph{Omega}{slsrt8r}{10pt}{1000}{141}{603}{741}{0}{0}

This can only come from the probably not Adobe encoded AFM files  
(ttf2p1 V3.4.4 writes StartFontMetrics 4.1 and puts descriptions for a  
few hundred up to almost 1,500 glyphs into the AFM files):

	pete 194 /\ egrep 'C 1(41|73)' *.afm
	slsbot8a.afm:C 141 ; WX 750 ; N .notdef ; B 125 0 625 625 ;
	slsbot8a.afm:C 173 ; WX 750 ; N sfthyphen ; B 136 259 588 349 ;
	slsbt8a.afm: C 141 ; WX 603 ; N .notdef ; B 125 0 478 625 ;
	slsbt8a.afm: C 173 ; WX 603 ; N sfthyphen ; B 84 259 518 349 ;
	slsrot8a.afm:C 141 ; WX 750 ; N .notdef ; B 125 0 625 625 ;
	slsrot8a.afm:C 173 ; WX 750 ; N sfthyphen ; B 155 265 567 337 ;
	slsrt8a.afm: C 141 ; WX 603 ; N .notdef ; B 125 0 478 625 ;
	slsrt8a.afm: C 173 ; WX 603 ; N sfthyphen ; B 103 265 500 337 ;

Invoking ttf2pt with '-l adobestd' I get these entries in the AFM files:

	pete 227 /\ egrep '141|173' *.mtx
	slsbot8a.mtx:\setrawglyph{.notdef}{slsbot8a}{10pt}{141}{750}{625}{0}{0}
	slsbot8a.mtx: 
\setrawglyph{guilsinglright}{slsbot8a}{10pt}{173}{750}{482}{-54}{0}
	slsbot8r.mtx: 
\setscaledrawglyph{Omega}{slsbot8r}{10pt}{1000}{141}{750}{741}{0}{0}
	slsbt8a.mtx: \setrawglyph{.notdef}{slsbt8a}{10pt}{141}{603}{625}{0}{0}
	slsbt8a.mtx:  
\setrawglyph{guilsinglright}{slsbt8a}{10pt}{173}{603}{482}{-54}{0}
	slsbt8r.mtx:  
\setscaledrawglyph{Omega}{slsbt8r}{10pt}{1000}{141}{603}{741}{0}{0}
	slsrot8a.mtx:\setrawglyph{.notdef}{slsrot8a}{10pt}{141}{750}{625}{0}{0}
	slsrot8a.mtx: 
\setrawglyph{guilsinglright}{slsrot8a}{10pt}{173}{750}{485}{-42}{0}
	slsrot8r.mtx: 
\setscaledrawglyph{Omega}{slsrot8r}{10pt}{1000}{141}{750}{741}{0}{0}
	slsrt8a.mtx: \setrawglyph{.notdef}{slsrt8a}{10pt}{141}{603}{625}{0}{0}
	slsrt8a.mtx:  
\setrawglyph{guilsinglright}{slsrt8a}{10pt}{173}{603}{485}{-42}{0}
	slsrt8r.mtx:  
\setscaledrawglyph{Omega}{slsrt8r}{10pt}{1000}{141}{603}{741}{0}{0}
	pete 229 /\ egrep 'C 1(41|73)' *.afm
	slsbot8a.afm:C 141 ; WX 750 ; N .notdef ; B 125 0 625 625 ;
	slsbot8a.afm:C 173 ; WX 750 ; N guilsinglright ; B 173 54 498 482 ;
	slsbt8a.afm: C 141 ; WX 603 ; N .notdef ; B 125 0 478 625 ;
	slsbt8a.afm: C 173 ; WX 603 ; N guilsinglright ; B 151 54 444 482 ;
	slsrot8a.afm:C 141 ; WX 750 ; N .notdef ; B 125 0 625 625 ;
	slsrot8a.afm:C 173 ; WX 750 ; N guilsinglright ; B 186 42 486 485 ;
	slsrt8a.afm: C 141 ; WX 603 ; N .notdef ; B 125 0 478 625 ;
	slsrt8a.afm: C 173 ; WX 603 ; N guilsinglright ; B 169 42 433 485 ;

and too the warning about eng/Eng.

What's going wrong?

--
Greetings

   Pete

Besides being a true statement, what is the following:

Eleven plus two = Twelve plus one?



More information about the fontinst mailing list