vptovf
convert virtual property lists to virtual font metrics
see also :
pltotf - tftopl - vftovp
Synopsis
vptovf
[-verbose] vpl_name[.vpl]
[vfm_name[.vf]
[tfm_name[.tfm]]]
add an example, a script, a trick and tips
examples
source
pltotf favbi8r.pl favbi8r.tfm
vptovf favr8t.vpl favr8t.vf favr8t.tfm
vptovf favri8t.vpl favri8t.vf favri8t.tfm
vptovf favb8t.vpl favb8t.vf favb8t.tfm
vptovf favb8t.vpl favb8t.vf favb8t.tfm
vptovf favbi8t.vpl favbi8t.vf favbi8t.tfm
# Arev Sans for math
vptovf zavmr7t.vpl zavmr7t.vf zavmr7t.tfm
source
for f in *.pl; do
pltotf $f;done
for f in *.vpl; do
vptovf $f;done
# Create the map file
tex "$code-map.tex"
source
for X in *.vpl; do
vptovf $X; done
rm *.vpl *.pl *.mtx
if [ ! -d
/usr/share/texmf/fonts/afm/$path
]; then
source
echo "ttf2tfm is not
available."
exit
fi
if [ $(which vptovf | wc -l) -lt 1 ]; then
echo "vptovf is
not available."
exit
fi
echo "*** Creating
directories (if neccessary)."
ttf2tfm ${FONT}.ttf -q -T ${FONTENCFILE} -v ${FONT}${FONTENC}.vpl ${FONT}${FONTENC}.tfm 2>${FONT}.log
vptovf ${FONT}${FONTENC}.vpl ${FONT}${FONTENC}.vf ${FONT}${FONTENC}.tfm
source
for f in *.vpl ; do
vptovf $f
done
cat > univers.map <<%EOF
aunb8r UniversCE-Bold "TeXBase1Encoding
ReEncodeFont" <8r.enc <aunb8a.pfb
for f in *.vpl ; do
vptovf $f
done
cat > dinbold.map <<%EOF
dinb8r DIN-Bold "TeXBase1Encoding
ReEncodeFont" <8r.enc <dinb8a.pfb
source
for f in *.vpl ; do
vptovf $f
done
echo ">>>
create map files"
cat > convert.tex <<%EOF
\\input finstmsc.sty
source
pltotf $f 2>&1 >>
"$logfile"
done
for f in *.vpl
do
vptovf $f 2>&1 >>
"$logfile"
done
# Sicherstellen dass alle Verzeichnisse
existieren
description
This manual
page is not meant to be exhaustive. The complete
documentation for this version of TeX can be found in the
info file or manual Web2C: A TeX implementation.
The
vptovf program translates a (human-oriented) property
list file to a pair of (program-oriented) files in the VF
(virtual font) and TFM (TeX font metric) formats. Thus, a
virtual font file can be edited and its exact contents can
be displayed mnemonically. New virtual fonts, which map
characters as seen by TeX into an arbitrary sequence of
low-level typesetting operations, can also be created in
this way.
All three
filenames, vpl_name, vf_name, and
tfm_name, are extended with the appropriate suffix,
if they lack one.
options
Without the
-verbose option, vptovf operates
silently. With it, a banner and progress report are printed
on stdout.
see also
pltotf ,
tftopl , vftovp .
authors
Donald E. Knuth
wrote the program, based in part on an idea of David Fuchs,
starting with the code for pltotf(1). Karl Berry
adapted it for compilation with web2c.