[Fontinst] Compile error when generating LY1 ITC LegacySans
Ulrich Dirr
ud at art-satz.de
Tue Jul 20 10:48:52 CEST 2004
Hi,
I'm trying to setup fontinst for ITC LegacySans. I've already
generated/tested it successfully with T1 encoding. In addition I want
the TeX fonts with LY1 encoding. But I always got error messages :-(
Maybe someone can help me?
My drive file looks like (later I want to expand the installfont
commands by extra kerning data files etc.):
---------------------------------------------------------------------
\input fontinst.sty
\needsfontinstversion{1.926}
\substitutesilent{bx}{b}
\substitutesilent{sc}{n}
\setint{smallcapsscale}{800}
\setint{slant}{176}
\resetint{minimumkern}{4}
\recordtransforms{ilz8y-rec.tex}
\transformfont{ilzkco8a}{\slantfont{\int{slant}}{\fromafm{ilzkc8a}}}
\installfonts
\installfamily{LY1}{ilz}{}
\installfont{ilzk8y}{ilzk8a,newlatin}{8y}{LY1}{ilz}{m}{n}{}
\installfont{ilzki8y}{ilzki8a,newlatin}{8y}{LY1}{ilz}{m}{it}{}
\installfont{ilzb8y}{ilzb8a,newlatin}{8y}{LY1}{ilz}{b}{n}{}
\installfont{ilzbi8y}{ilzbi8a,newlatin}{8y}{LY1}{ilz}{b}{it}{}
\installfont{ilzkc8y}{ilzkc8a,newlatin}{8y}{LY1}{ilz}{m}{sc}{}
\installfont{ilzkic8y}{ilzkco8a,newlatin}{8y}{LY1}{ilz}{m}{si}{}
\installfont{ilzbc8y}{ilzb8a,newlatin}{t1c}{LY1}{ilz}{b}{sc}{}
\installfont{ilzbic8y}{ilzbi8a,newlatin}{t1c}{LY1}{ilz}{b}{si}{}
\endinstallfonts
\endrecordtransforms
\input finstmsc.sty
\declarepsencoding{LY1}{TeXnANSIEncoding}{\download{texnansi.enc}}
\resetstr{PSfontsuffix}{.pfb}
\adddriver{dvips}{ilz.map}
\input ilz-map
\donedrivers
\bye
---------------------------------------------------------------------
My log file looks like:
---------------------------------------------------------------------
This is TeXk, Version 3.141592 (Web2c 7.5.2) (format=tex 2004.5.4) 20
JUL 2004 10:35
Source specials enabled.
%&-line parsing enabled.
(p:/TeXLive/texmf-var/web2c/cp8bit.tcx)
**LY1LegacySans.tex
(./LY1LegacySans.tex
(p:/TeXLive/texmf/tex/generic/fontinst/base/fontinst.sty
\a_count=\count26
\b_count=\count27
\c_count=\count28
\d_count=\count29
\e_count=\count30
\f_count=\count31
\g_count=\count32
\a_dimen=\dimen16
\b_dimen=\dimen17
\c_dimen=\dimen18
\d_dimen=\dimen19
\a_toks=\toks12
\b_toks=\toks13
\c_toks=\toks14
\out_file=\write0
\half_point=\dimen20
(p:/TeXLive/texmf/tex/generic/fontinst/base/trig.sty)
\result=\count33
\slot_number=\count34
\glyph_width=\count35
\glyph_height=\count36
\glyph_depth=\count37
\glyph_italic=\count38
\glyph_map_commands=\toks15
\glyph_map_fonts=\toks16
\glyph_voffset=\count39
\glyph_maxhpos=\count40
\mapfont_scaling=\dimen21
\rawfont_scaling=\dimen22
\side_bearings=\dimen23
\curr_bearings=\dimen24
\font_count=\count41
\next_mapfont=\count42
\prev_mapfont=\count43
\family_toks=\toks17
\minimum_kern=\count44
\afm_unit_dimen=\dimen25
\char_slot=\count45
\char_x_width=\count46
\x_width=\count47
\bbox_llx=\count48
\bbox_lly=\count49
\bbox_urx=\count50
\bbox_ury=\count51
\command_survivance=\count52
No file fontinst.rc.
)
\write1 allocated to the pool.
\openout1 = `ilz8y-rec.tex'.
\openout0 = `ilzkc8a.mtx'.
(./ilzkc8a.afm)
Metrics written on ilzkc8a.mtx.
\openout0 = `ilzkc8a.pl'.
(./ilzkc8a.mtx)
Raw font written on ilzkc8a.pl.
\openout0 = `ilzkco8a.mtx'.
(./ilzkc8a.mtx)
Transformed metrics written on ilzkco8a.mtx.
\openout0 = `ilzkco8a.pl'.
(./ilzkco8a.mtx)
Raw font written on ilzkco8a.pl.
\openout0 = `ilzk8a.mtx'.
(./ilzk8a.afm)
Metrics written on ilzk8a.mtx.
\openout0 = `ilzk8a.pl'.
(./ilzk8a.mtx)
Raw font written on ilzk8a.pl.
(./ilzk8a.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/newlatin.mtx
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/llbuild.mtx
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/ltcmds.mtx))
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/lubuild.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/lsbuild.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/lsfake.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/lsmisc.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/ltpunct.mtx))
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx)
\openout0 = `ilzk8y.vpl'.
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx
Warning: missing glyph `Eth'.
Warning: missing glyph `Thorn'.
Warning: missing glyph `eth'.
Warning: missing glyph `thorn'.
)
Virtual font written on ilzk8y.vpl.
\openout0 = `ilzki8a.mtx'.
(./ilzki8a.afm)
Metrics written on ilzki8a.mtx.
\openout0 = `ilzki8a.pl'.
(./ilzki8a.mtx)
Raw font written on ilzki8a.pl.
(./ilzki8a.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinmtx/newlatin.mtx)
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx)
\openout0 = `ilzki8y.vpl'.
(p:/TeXLive/texmf/tex/generic/fontinst/latinetx/8y.etx
! Missing control sequence inserted.
<inserted text>
\inaccessible
<to be read again>
1
<argument> ...f \1.0pt-ilzk8a =\font_count \xdef 1
.0pt-ilzk8a{1.0pt-ilzk8a}\...
\sixth_of_six #1#2#3#4#5#6->#6
\do_slot ...\slot_name \then \mapfonts \slot_name
\fi
l.135 \setslot{dotaccent}
? e
No pages of output.
---------------------------------------------------------------------
Besides that I don't know if the fake bold & bolditalic smallcaps font
will work (there's only a t1c file and no ly1c), my assumption was
that with LY1 encoding I don't need to first transform fonts from 8a
to 8r. Maybe someone can clarify this too.
Best regards,
Ulrich Dirr
More information about the fontinst
mailing list