File: Encoding.format

package info (click to toggle)
mpage 2.5.6-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 528 kB
  • ctags: 332
  • sloc: ansic: 3,630; makefile: 85; sh: 69
file content (29 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Encoding tables have the following format:

Lines starting with % are regarded as comments and are ignored.
Empty lines are also ignored (note: a line with only spaces or
tabs is not an empty line)

The first non-empty, non-comment line must contain 2 integers,
specifying the first and last encoding number.

Then the character encodings follow. This code is literally copied
into the postscript stream, and should specify a font character vector.


For example

    %%%% Part of ISO-Latin-1 encodings
    32 40 % first and last encoding
    032 /space
    033 /exclam
    034 /quotedbl
    035 /numbersign
    036 /dollar
    037 /percent
    038 /ampersand
    039 /quoteright
    040 /parenleft

Any character of the input text files outside the first/last encoding 
range will be transformed to the \277 character.