> FAQ > ...


H Type1 ? ( 2 )

/Encoding 256 array
0 1 255 {1 index exch /.notdef put} for
dup 32 /space put
dup 60 /afii10071 put
dup 193 /guillemotright put
dup 196 /afii10044 put
dup dup 161 10 getinterval 0 exch putinterval dup dup
173 23 getinterval 10 exch putinterval dup dup 127
exch 196 get put readonly


H -- ATM.
"Adobe Type 1 Font Format" 10 "Adobe Type Manager Compatibility" :

The tokens following /Encoding may be StandardEncoding def, in which case the Adobe Standard Encoding will be assigned to this font program. For special encodings, assignments must be performed as shown in the example in section 2.3, "Explanation of a Typical Font Program", using the repetitive sequence:

dup index charactername put

where index is an integer corresponding to an entry in the Encoding vector, and charactername refers to a PostScript language name token, such as /Alpha or /A, giving the character name assigned to a particular character code. The Adobe Type Manager parser skips to the first dup token after /Encoding to find the first character encoding assignment. This sequence of assignments must be followed by an instance of the token def or readonly; such a token may not occur within the sequence of assignments.

/Encoding StandardEncoding def

dup - /- put


/Encoding 256 array
0 1 255 { 1 index exch /.notdef put } for
dup 32 /space put
dup 33 /exclam put
. . .
dup 255 /ydieresis put
readonly def