File: h_roman8.h

package info (click to toggle)
plotutils 2.4.1-15
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,072 kB
  • ctags: 6,952
  • sloc: ansic: 76,305; cpp: 12,402; sh: 8,475; yacc: 2,604; makefile: 894; lex: 144
file content (37 lines) | stat: -rw-r--r-- 1,494 bytes parent folder | download | duplicates (5)
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
30
31
32
33
34
35
36
37
/* This header file specifies HP's Roman-8 encoding (used by HP's vector
   fonts [`stick fonts'], including both fixed-width stick fonts and
   variable-width arc fonts).  In particular, it gives a mapping from the
   upper half of the ISO-Latin-1 character set to Roman-8. */

/* ISO-Latin-1 characters not included in Roman-8; we map each of them to
   040, i.e., to the space character. */
#define COPYRIGHT 040
#define NEGATION 040
#define REGISTERED 040
#define RAISEDONE 040
#define RAISEDTWO 040
#define RAISEDTHREE 040
#define CEDILLA 040
#define MULTIPLY 040
#define DIVIDES 040

static const unsigned char _iso_to_roman8 [128] =
{
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    /* printable iso-latin-1 characters */
    040, 0270, 0277, 0257, 0272, 0274, (unsigned char)'|', 0275,
    0253, COPYRIGHT, 0371, 0373, NEGATION, (unsigned char)'-', REGISTERED, 0260,
    0263, 0376, RAISEDTWO, RAISEDTHREE, 0250, 0363, 0364, 0362, 
    CEDILLA, RAISEDONE, 0372, 0375, 0367, 0370, 0365, 0271,
    0241, 0340, 0242, 0341, 0330, 0320, 0323, 0264,
    0243, 0334, 0244, 0245, 0346, 0345, 0246, 0247,
    0343, 0266, 0350, 0347, 0337, 0351, 0332, MULTIPLY,
    0322, 0255, 0355, 0256, 0333, 0261, 0360, 0336,
    0310, 0304, 0300, 0342, 0314, 0324, 0327, 0265,
    0311, 0305, 0301, 0315, 0331, 0325, 0321, 0335,
    0344, 0267, 0312, 0306, 0302, 0352, 0316, DIVIDES,
    0326, 0313, 0307, 0303, 0317, 0262, 0361, 0357,
};