Linux Commands Examples

A great documentation place for Linux commands

gftopk

convert generic font files to packed font files


see also : gftype - pktogf - pktype

Synopsis

gftopk [-v] gf_file_name [pk_file_name]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
mf "\mode:=vtftzzlo; \mag:=1.0; input lute9; bye;"
gftopk ./lute9.1200gf > ./lute9.1200pk
#
# virmf \&$FMT "\mode:=ultre; \mag:=1.0; input blute9; bye;"
# virmf \&$FMT "\mode:=ultre; \mag:=1.0; input blute9; bye;"
# gftopk ./blute9.1200gf > ./blute9.1200pk
#
#rm -f lute9*gf lute9*bdf lute9.log
0
source
            
mf "\mode:=CanonCX; \mag:=1.0; input tlute9; bye;"
gftopk ./tlute9.300gf > ./tlute9.300pk
rm ./tlute9.300gf
mf "\mode:=canonex; \mag:=1.0; input tlute9; bye;"
mf "\mode:=canonex; \mag:=1.0; input tlute9; bye;"
gftopk ./tlute9.600gf > ./tlute9.600pk
rm ./tlute9.600gf
0
source
            
virmf \&$FMT "\mode:=CanonCX; \mag:=1.0; input lute9; bye;"
gftopk ./lute9.300gf > ./lute9.300pk
#
# virmf \&$FMT "\mode:=IBMFourZeroTwoNine; \mag:=1.0; input lute9; bye;"
# virmf \&$FMT "\mode:=IBMFourZeroTwoNine; \mag:=1.0; input lute9; bye;"
# gftopk ./lute9.600gf > ./lute9.600pk
#
rm -f lute9*gf lute9*bdf lute9.log
0
source
            
mf "\mode:=$MODE; \mag:=1.0; input lute9; bye;"
gftopk ./lute9.300gf > ./lute9.300pk
rm ./lute9.300gf
mf "\mode:=$MODE; \mag:=1.0; input lute85; bye;"
mf "\mode:=$MODE; \mag:=1.0; input lute85; bye;"
gftopk ./lute85.300gf > ./lute85.300pk
rm ./lute8.300gf
mf "\mode:=$MODE; \mag:=1.0; input lute8; bye;"
0
source
            
virmf "&cm \\mode=$mode; mag=$s/10; batchmode; input $f" >/dev/null
mag=`expr $s \* $dpi / 10`
gftopk $f.${mag}gf >/dev/null
rm $f.${mag}gf
done
done

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 gftopk program converts a generic font file output by, for example, mf(1), to a packed font file for use by DVI-reading programs. Packed font files (pk files) are much smaller than the corresponding gf files, so they are generally the font format of choice.

The gf_file_name on the command line must be complete. Because the resolution is part of the extension, it would not make sense to append a default extension as is done with TeX or DVI-reading software. The pk_file_name defaults to the same (stripped) name as gf_file_name, and it is placed in the current working directory with the pk suffix replacing gf. For example, the input file cmr10.300gf would become cmr10.300pk.

options

Unless the -v switch is given, gftopk operates silently. With -v, the version number of the program and statistics about the packing are output to stdout.

environment

gftopk looks for gf_file_name first in the current directory. If it is not present there, it uses the environment variable GFFONTS. If that is not set, it uses the variable TEXFONTS. If that is not set, it uses the system default.

See tex(1) for the details of the searching.


see also

gftype , pktogf , pktype .
Donald E. Knuth et al., Metafontware.


authors

Tomas Rokicki wrote the program. It was published as part of the Metafontware technical report, available from the TeX Users Group. Paul Richards originally ported it to Unix.

How can this site be more helpful to YOU ?


give  feedback