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

A less stupid fontinst question



This time, I've even RTFM *and* double-checked that I've not done anything
that I already know is stupid...

I've tried using the \substitutenoisy command while using fontinst, and
it's apparently done nothing.

Using the fontinst file appended to the end of this message, I get fd files
that do not have lines substituting italic for upright italic.

Can anyone explain why?

(The rmlatin-capsonly.mtx file is a minor modification of the standard
latin.mtx file - the only changes are the comment characters added as shown
below:

\comment{\section{Default values}}

\setint{italicslant}{0}
% \setint{xheight}{\height{x}}
\setint{capheight}{\height{A}}
% \setint{ascender}{\height{d}}
% \setint{descender}{\depth{g}}
)

Another question is this: how come I get a more-or-less empty 8rXXX.fd file
with the fontinst file below, even though fontinst creates several 8r
encoded founts for me?

(I suppose what I really want to know is how fontinst goes about creating
.fd files - what makes it write stuff to them, and how it decides what
should go in them.)

Ta muchly,
Rowland.

%&Plain
\input fontinst.sty

%
% usage: \installAllCaps{family}{fontnameseries}{series} (e.g., r=roman,
bk=black)
% \installAllCaps{fli}{r}{m} for flir8a - Lilith Initials
% \installAllCaps{fec}{c}{bk} for fecc8a - Eileen Caps black
\def\installAllCaps#1#2#3{
\installfonts
\installfamily{OT1}{#1}{}
\installfamily{T1} {#1}{}
\installfamily{8r} {#1}{}
\substitutenoisy{ui}{i}
%% Added transformations needed to cope with 8r encoding
%%
%% Upright roman
\transformfont{#1#28r}{\reencodefont{8r}{\fromafm{#1#28a}}}
%
%% fudge oblique from roman
\transformfont{#1#2o8r}{\slantfont{167}{\frommtx{#1#28r}}}
%
%% fudge italic from roman
\transformfont{#1#2i8r}{\slantfont{167}{\frommtx{#1#28r}}}
%
 \installfont {#1#28t}  {#1#28r, rmlatin-capsonly} {T1}   {T1}  {#1}{#3}{n} {}
 \installfont {#1#27t}  {#1#28r, rmlatin-capsonly} {OT1}  {OT1} {#1}{#3}{n} {}
 \installfont {#1#2c8t} {#1#28r, rmlatin-capsonly} {T1c}  {T1}  {#1}{#3}{sc}{}
 \installfont {#1#2c7t} {#1#28r, rmlatin-capsonly} {OT1c} {OT1} {#1}{#3}{sc}{}
 \installfont {#1#2o8t} {#1#2o8r,rmlatin-capsonly} {T1}   {T1}  {#1}{#3}{sl}{}
 \installfont {#1#2o7t} {#1#2o8r,rmlatin-capsonly} {OT1}  {OT1} {#1}{#3}{sl}{}
 \installfont {#1#2i8t} {#1#2i8r,rmlatin-capsonly} {T1i}  {T1}  {#1}{#3}{it}{}
 \installfont {#1#2i7t} {#1#2i8r,rmlatin-capsonly} {OT1i} {OT1} {#1}{#3}{it}{}
\endinstallfonts
}

\installAllCaps{fli}{r}{m}
\installAllCaps{fas}{r}{m}
\installAllCaps{fec}{r}{m}
\installAllCaps{fec}{c}{bk}
\installAllCaps{fsb}{r}{m}
\installAllCaps{fib}{r}{m}

\bye