Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1B)

xnews(1)

map2ps(1)

NAME

map2ps − compile font encoding map files into PostScript format

SYNOPSIS

map2ps [ −p filename ] mapfile... 

DESCRIPTION

map2ps reads font encoding map files and converts them into a format appropriate for loading into the xnews(1) server, storing the output in the file fontmaps.ps .ps files found in $OPENWINHOME/lib/fonts/map at start-up time.  When loaded, fontmaps.ps creates entries in two dictionaries: EncodingDirectory and ExternalEncodingDirectory.  map2ps is a necessary step in the creation of new F3 fonts only if the font does not use one of the four common encodings, ISOLatin1Encoding, StandardEncoding, Symbol or Dingbats. 

The map file specifies what characters are in the font and how to translate their codes into PostScript names.  A map file is an ASCII-encoded list of pairs, or triplets of the form number-name-number a line containing a string identifying the map file.  Lines that start with "#" are treated as comments. 

The first two items on a line represent the number identifying the character in an F3 font and the PostScript name for that shape.  The third, optional number represents the default encoding of the character from the client perspective.  Characters without a default encoding are assumed to be unencoded. 

OPTIONS

-p filename Specify an alternate filename for the PostScript output. 

FILES

$OPENWINHOME/lib/fonts/map
Directory of installation for PostScript map files.

$OPENWINHOME/lib/fonts/map/fontmaps.ps
Definitions for four common encodings.

SEE ALSO

cc(1B), xnews(1)

SunOS 5.2  —  Last change: 24 March 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026