[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lw35nfsx and fontinst



Hi there,

as I have seen from lw35nfsx.zip, your ly1<fam>.fd files start 
with a header claiming that they were generated using fontinst,
although I strongly suspect that they were actually generated 
by editing t1<fam>.fd files and forgetting to do some clean up.
							
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
%Filename: ly1ptm.fd
%Created by: tex Fam_904
%Created using fontinst v1.800

%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY

\ProvidesFile{ly1ptm.fd}
   [1998/07/06 Fontinst v1.800 font definitions for LY1/ptm.]

\DeclareFontFamily{LY1}{ptm}{}

[...]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

As I have already received a user request asking how to generate
LY1-encoded .fd files using fontinst v1.8 for some Bitstream fonts, 
I would like to ask you to make clear that your LY1 files have 
nothing to do with fontinst and that the maintainer of fontinst 
(which happens to be me at the moment) should not be bothered.

Anyway, as I am trying to be a helpful person, I have suggested
the following (untested) solution to the problem:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% <fam>.tex 
% requires: <fam><shape>8a.afm, 8y.etx, 8y.mtx, fontinst.sty

\input fontinst.sty

\transformfont{<fam>r8y} {\reencodefont{8y}{<fam>r8a}}
\transformfont{<fam>ro8y}{\slantfont{167}  {<fam>r8y}}
\transformfont{<fam>ri8y}{\reencodefont{8y}{<fam>ri8a}}
\transformfont{<fam>b8y} {\reencodefont{8y}{<fam>b8a}}
\transformfont{<fam>bo8y}{\slantfont{167}  {<fam>b8y}}
\transformfont{<fam>bi8y}{\reencodefont{8y}{<fam>bi8a}}

\substitutenoisy{sc}{n}
\installfonts
\installfamily{LY1}{<fam>}{}

\installrawfont{<fam>r8y} {<fam>r8y,8y} {8y}{LY1}{<fam>}{m}{n}{}
\installrawfont{<fam>ro8y}{<fam>ro8y,8y}{8y}{LY1}{<fam>}{m}{sl}{}
\installrawfont{<fam>ri8y}{<fam>ri8y,8y}{8y}{LY1}{<fam>}{m}{it}{}
\installrawfont{<fam>b8y} {<fam>b8y,8y} {8y}{LY1}{<fam>}{m}{n}{}
\installrawfont{<fam>bo8y}{<fam>bo8y,8y}{8y}{LY1}{<fam>}{m}{sl}{}
\installrawfont{<fam>bi8y}{<fam>bi8y,8y}{8y}{LY1}{<fam>}{m}{it}{}
\endinstallfonts

\bye
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I am not completely sure if the result of installing a TFM file
using 8y.etx and 8y.mtx will be exactly the same as what you get
with your tools.  Fontinst certainly does a little more than just
plain reencoding, as it also adds ligature programs and kern pairs
for accented characters.  If that doesn't suit your philosophy,
your welcome to suggest a better solution.

Regards,
Ulrik Vieth.