fontinst bug(s) ?
jfm
jfm@core.ucl.ac.be
Fri, 21 Jan 2000 10:11:02 -0500
The following test file is a minor expansion on the classic "test1.tex"
in the
psnfss distribution:
___________________________________________________________
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{times}
\begin{document}
\parskip4pt
\parindent0em
\title{PSNFSS: test most of the `35' PostScript fonts}
\author{Sebastian Rahtz}
\date{June 17th 1994}
\maketitle
\def\Try#1#2{%
\fontfamily{#1}\selectfont
This is set in in #2 (#1):
\begin{quote}
\textit{an italicized f\'ee;}
\textsc{a smallcaps f\'ee;}
\textsl{a slanted f\'ee;}
\textbf{
a bold f\'ee;
\textit{a bold italized f\'ee;}
\textsc{a bold smallcaps f\'ee;}
\textsl{a bold slanted f\'ee;}
}
\end{quote}
\par
}
\Try{pag}{Adobe AvantGarde}
\Try{pbk}{Adobe Bookman}
\Try{pcr}{Adobe Courier}
\Try{phv}{Adobe Helvetica}
\Try{pnc}{Adobe NewCenturySchoolbook}
\Try{padx}{Adobe AGaramond}
\Try{ppl}{Adobe Palatino}
\Try{ptm}{Adobe Times Roman}
\Try{pzc}{Adobe ZapfChancery}
\fontfamily{phv}\selectfont
In Helvetica we can try the narrow fonts.\footnote{Thanks to Frank
Poppe for putting this in.}
\begin{quote}
\fontseries{mc}
\upshape a condensed f\'ee.
\slshape a condensed slanted f\'ee.
\fontseries{bc}
\upshape a bold condensed f\'ee.
\slshape a bold condensed slanted f\'ee.
\end{quote}
\end{document}
___________________________________________________________
I ran this, with the classic files (from psnfss-beta), except for padx
and pzc,
where I generated the files with the fontinst-prerelease, via \latinfamily
(\latinfamily{padx}{}\latinfamily{padj}{} in that order for padx), with,
as basic
fonts,
padb8a.afm, padb8x.afm, padbi8a.afm, padbi8x.afm, padr7a.afm, padr8a.afm,
padr8x.afm, padrd8a.afm, padri7a.afm, padri8a.afm, padri8x.afm, pads8a.afm,
pads8x.afm, padsi8a.afm, and padsi8x.afm
for pad, and
pzcb8a.afm, pzcd8a.afm, pzcl8a.afm, pzcli8a.afm, pzcmi8a.afm, pzcr8a.afm,
pzcri8a.afm
for pzc.
All required files, including logs, fonts, fontinst intermediate files, etc,
can be downloaded by anonymous ftp as test2.tar.gz from jfm.core.ucl.ac.be.
The problems were the following:
A) There was an obvious problem with partial downloading: the ps file created
that way is rejected both by ghostview and by Distiller. But before
blaming the
partial downloading code for this, I think the next 2 points should be resolved,
which apparently concern fontinst.
B) Running the dvi file through dvicopy yields the following:
__________________________________________________________
This is ODVIcopy, Version 1.5 (CMacTeX)
(C) 1990,95 P. Breitenlohner, 1994,97 J. Plaice and Y. Haralambous
Distributed under terms of GNU General Public License
DVI file: ' TeX output 2000.01.21:1231',
num=25400000, den=473628672, mag=1000.
DVI: font 102 = phvbo8tn.
....
DVI: font 74 = pplrc8t.
DVI: font 73 = pplri8t.
DVI: font 72 = pplr8t.
....
DVI: font 30 = pagk8t.
DVI: font 17 = ptmr8t scaled 1200.
DVI: font 16 = ptmr8t scaled 1728.
DVI: font 15 = ptmr8t.
DVI: processing page 1.
DVI: font 16 = ptmr8t scaled 1728.
TFM: font 72 = ptmr8t scaled 1728.
VF file: '',
for font 72 = ptmr8t scaled 1728.
VF: font 0 = ptmr8r scaled 1728.
TFM: font 74 = ptmr8r scaled 1728.
Bad (O)VF file = ptmr8t scaled 1728 loc=33
Use OVF2OVP/OVP2OVF/VFtoVP/VPtoVF to diagnose and correct the problem.
(That was a fatal error, my friend.)
Processing complete.
Elapsed time = 8.3 sec.
__________________________________________________________
I have no clue what this "loc=33" refers to; but I think dvicopy is a reliable
diagnostic...
C) It is apparent from the output (test2.ps_full, test2.pdf_full_Acro, or
test2.pdf_pdftex) that the bold smallcaps for padx are too big _ they seem
bold caps. And the file test2.dvips_log shows that padb8x is not among the
document fonts... Remark that exactly the same afm's were available in bold
and regular weights: roman and italic, each in normal and expert form.
The log-file of the fontinst-run shows, for padb:
___________________________________________________________
INFO> to make LaTeX font shape <padx,b,sc,> seek padbc8r.mtx
INFO> run \installfont <padbc9t><padb8r,padb8x,latin><OT1c><OT1><padx><b><sc>
(padb8r.mtx) (padb8x.mtx) (/hd/texmf/tex/fontinst/mtx/latin.mtx)
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
\openout3 = `padbc9t.vpl'.
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx
Warning: missing glyph `Gamma'.
Warning: missing glyph `Delta'.
Warning: missing glyph `Theta'.
Warning: missing glyph `Lambda'.
Warning: missing glyph `Xi'.
Warning: missing glyph `Pi'.
Warning: missing glyph `Sigma'.
Warning: missing glyph `Upsilon'.
Warning: missing glyph `Phi'.
Warning: missing glyph `Psi'.
Warning: missing glyph `Omega'.
Warning: missing glyph `lslashslash'.
))
Virtual font written on padbc9t.vpl.
INFO> run \installfont <padbc9e><padb8r,padb8x,latin><T1c><T1><padx><b><sc>
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
\openout3 = `padbc9e.vpl'.
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx
Warning: missing glyph `perthousandzero'.
Warning: missing glyph `Eng'.
Warning: missing glyph `Eng'.
))
Virtual font written on padbc9e.vpl.
___________________________________________________________
And padbc9e.vpl starts as:
___________________________________________________________
(COMMENT virtual font padbc9e created by fontinst v1.910)
(COMMENT Filename: padbc9e.vpl)
(COMMENT Created by: tex pad)
(COMMENT Created using: \etxtovpl{T1c}{padbc9e})
(COMMENT This file can be turned into a virtual font with)
(COMMENT vpltovf padbc9e.vpl padbc9e.vf padbc9e.tfm)
(COMMENT THIS FILE CAN THEN BE DELETED.)
(DESIGNSIZE R 10.0)
(DESIGNUNITS R 10.0)
(CODINGSCHEME EXTENDED TEX FONT ENCODING - LATIN)
(MAPFONT D 0 (FONTNAME padb8r) (FONTDSIZE R 10.0) (FONTAT R 8.0))
(MAPFONT D 1 (FONTNAME padb8r) (FONTDSIZE R 10.0) (FONTAT R 10.0))
___________________________________________________________
No MAPFONT for padb8x !
___________________________________________________________
While for padr we get in the same log :
___________________________________________________________
INFO> to make LaTeX font shape <padx,m,sc,> seek padrc8r.mtx
INFO> run \installfont <padrc9t><padr8r,padr8x,latin><OT1c><OT1><padx><m><sc>
(padr8r.mtx) (padr8x.mtx) (/hd/texmf/tex/fontinst/mtx/latin.mtx)
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
\openout3 = `padrc9t.vpl'.
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx))
(/hd/texmf/tex/fontinst/etx/ot1c.etx (/hd/texmf/tex/fontinst/etx/ot1.etx
Warning: missing glyph `Gamma'.
Warning: missing glyph `Delta'.
Warning: missing glyph `Theta'.
Warning: missing glyph `Lambda'.
Warning: missing glyph `Xi'.
Warning: missing glyph `Pi'.
Warning: missing glyph `Sigma'.
Warning: missing glyph `Upsilon'.
Warning: missing glyph `Phi'.
Warning: missing glyph `Psi'.
Warning: missing glyph `Omega'.
Warning: missing glyph `lslashslash'.
))
Virtual font written on padrc9t.vpl.
INFO> run \installfont <padrc9e><padr8r,padr8x,latin><T1c><T1><padx><m><sc>
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
\openout3 = `padrc9e.vpl'.
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx))
(/hd/texmf/tex/fontinst/etx/t1c.etx (/hd/texmf/tex/fontinst/etx/t1.etx
Warning: missing glyph `perthousandzero'.
Warning: missing glyph `Eng'.
Warning: missing glyph `Eng'.
))
Virtual font written on padrc9e.vpl.
___________________________________________________________
And padrc9e.vpl starts as:
___________________________________________________________
(COMMENT virtual font padrc9e created by fontinst v1.910)
(COMMENT Filename: padrc9e.vpl)
(COMMENT Created by: tex pad)
(COMMENT Created using: \etxtovpl{T1c}{padrc9e})
(COMMENT This file can be turned into a virtual font with)
(COMMENT vpltovf padrc9e.vpl padrc9e.vf padrc9e.tfm)
(COMMENT THIS FILE CAN THEN BE DELETED.)
(DESIGNSIZE R 10.0)
(DESIGNUNITS R 10.0)
(CODINGSCHEME EXTENDED TEX FONT ENCODING - LATIN)
(MAPFONT D 0 (FONTNAME padr8x) (FONTDSIZE R 10.0) (FONTAT R 10.0))
(MAPFONT D 1 (FONTNAME padr8r) (FONTDSIZE R 10.0) (FONTAT R 10.0))
(MAPFONT D 2 (FONTNAME padr8r) (FONTDSIZE R 10.0) (FONTAT R 8.0))
___________________________________________________________
Here there is a MAPFONT for padr8x !
___________________________________________________________
___________________________________________________________
Any help greatly appreciated,
Jean-François Mertens.
J.F. Mertens, [ Tel: 32-10-474309, e-mail: jfm@core.ucl.ac.be]
CORE, [ 32-10-474321, Fax: 32-10-474301, corsec@core.ucl.ac.be]
34, Voie du Roman Pays,
B-1348, Louvain-la-Neuve,
Belgium.
Home: Tel. 32-2-6521970
2, Rue de Limalsart,
B-1330, Rixensart,
Belgium.