VSWAP(1) — USER COMMANDS
NAME
vswap − convert a foreign font file
SYNOPSIS
/usr/lib/vswap [ −r ]
DESCRIPTION
Without the -r option, vswap translates its standard input (which must be a vfont file in the reversed-byte order) into a locally correct vfont file on its standard output. With the -r option, vswap translates its standard input (which must be a vfont file in the local-byte order) into a byte-reversed vfont file on its standard output.
The UNIX vfont representation for fonts is a binary file containing machine-dependent elements — short (16-bit) integers, in particular. There are (at least) two common ways of representing a 16-bit integer. A program compiled on a VAX will expect the VAX format, while the same program compiled on a Motorola 68000 will expect 68000 format. Vswap can be used to convert font files created on a VAX to the format required to use them on the Sun. It can also convert Sun-format font files to VAX format (with the −r option). Since the font files are in the byte order of the local machine, programs which access the font files don’t need to be concerned with byte-swapping issues. This could be considered a bug.
SEE ALSO
BUGS
A machine-independent font format should be defined.
Sun Release 2.0 — Last change: 31 August 1984