xref: /illumos-gate/usr/src/cmd/troff/hytab.c (revision 3299f39fdcbdab4be7a9c70daa3873f2b78a398d)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1989 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28 /*	  All Rights Reserved  	*/
29 
30 
31 #pragma ident	"%Z%%M%	%I%	%E% SMI"
32 
33 /*
34  * University Copyright- Copyright (c) 1982, 1986, 1988
35  * The Regents of the University of California
36  * All Rights Reserved
37  *
38  * University Acknowledgment- Portions of this document are derived from
39  * software developed by the University of California, Berkeley, and its
40  * contributors.
41  */
42 
43 /*
44  * Hyphenation digram tables
45  */
46 
47 unsigned char	bxh[1][13] = {
48 	0060,0000,0040,0000,0040,0000,0000,0040,0000,0000,0040,0000,0040
49 };
50 
51 unsigned char	hxx[26][13] = {
52 	0006,0042,0041,0123,0021,0024,0063,0042,0002,0043,0021,0001,0022,
53 	0140,0000,0200,0003,0260,0006,0000,0160,0007,0000,0140,0000,0320,
54 	0220,0000,0160,0005,0240,0010,0000,0100,0006,0000,0200,0000,0320,
55 	0240,0000,0120,0003,0140,0000,0000,0240,0010,0000,0220,0000,0160,
56 	0042,0023,0041,0040,0040,0022,0043,0041,0030,0064,0021,0000,0041,
57 	0100,0000,0140,0000,0220,0006,0000,0140,0003,0000,0200,0000,0000,
58 	0200,0000,0120,0002,0220,0010,0000,0160,0006,0000,0140,0000,0320,
59 	0020,0000,0020,0000,0020,0000,0000,0020,0000,0000,0020,0000,0000,
60 	0043,0163,0065,0044,0022,0043,0104,0042,0061,0146,0061,0000,0007,
61 	0100,0000,0140,0000,0040,0000,0000,0100,0000,0000,0120,0000,0000,
62 	0140,0000,0040,0011,0060,0004,0001,0120,0003,0000,0140,0000,0040,
63 	0200,0000,0100,0000,0140,0000,0000,0140,0000,0000,0140,0000,0240,
64 	0200,0000,0140,0000,0160,0000,0000,0220,0000,0000,0140,0000,0240,
65 	0200,0000,0140,0000,0160,0000,0000,0220,0000,0000,0060,0000,0240,
66 	0021,0043,0041,0121,0040,0023,0042,0003,0142,0042,0061,0001,0022,
67 	0120,0000,0140,0010,0140,0010,0000,0140,0002,0000,0120,0000,0120,
68 	0000,0000,0000,0000,0360,0000,0000,0000,0000,0000,0160,0000,0000,
69 	0100,0000,0040,0005,0120,0000,0000,0100,0000,0000,0060,0000,0140,
70 	0140,0040,0100,0001,0240,0041,0000,0242,0000,0002,0140,0000,0100,
71 	0240,0000,0120,0002,0200,0000,0000,0320,0007,0000,0240,0000,0340,
72 	0101,0021,0041,0020,0040,0005,0042,0121,0002,0021,0201,0000,0020,
73 	0160,0000,0100,0000,0140,0000,0000,0160,0006,0000,0220,0000,0140,
74 	0140,0000,0020,0001,0020,0000,0000,0100,0001,0000,0300,0000,0000,
75 	0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,
76 	0106,0041,0040,0147,0040,0000,0063,0041,0001,0102,0160,0002,0002,
77 	0300,0000,0040,0017,0140,0017,0000,0240,0000,0000,0140,0000,0120,
78 };
79 
80 unsigned char	bxxh[26][13] = {
81 	0005,0150,0153,0062,0062,0246,0152,0127,0146,0203,0310,0017,0206,
82 	0100,0000,0120,0000,0140,0000,0000,0100,0000,0000,0120,0000,0060,
83 	0100,0000,0040,0000,0060,0000,0000,0060,0000,0000,0220,0000,0040,
84 	0100,0000,0120,0000,0200,0000,0000,0100,0000,0000,0140,0000,0060,
85 	0043,0142,0046,0140,0062,0147,0210,0131,0046,0106,0246,0017,0111,
86 	0060,0000,0020,0000,0060,0000,0000,0040,0000,0000,0100,0000,0000,
87 	0060,0000,0040,0000,0040,0000,0000,0040,0000,0000,0100,0000,0040,
88 	0100,0000,0100,0000,0100,0000,0000,0040,0000,0000,0100,0000,0140,
89 	0066,0045,0145,0140,0000,0070,0377,0030,0130,0103,0003,0017,0006,
90 	0040,0000,0040,0000,0020,0000,0000,0040,0000,0000,0100,0000,0000,
91 	0200,0000,0020,0000,0140,0000,0000,0120,0000,0000,0120,0000,0040,
92 	0120,0000,0040,0000,0060,0000,0000,0060,0000,0000,0160,0000,0040,
93 	0120,0000,0040,0000,0120,0000,0000,0040,0000,0000,0160,0000,0040,
94 	0120,0000,0020,0000,0140,0000,0000,0120,0000,0000,0140,0000,0040,
95 	0051,0126,0150,0140,0060,0210,0146,0006,0006,0165,0003,0017,0244,
96 	0120,0000,0040,0000,0160,0000,0000,0140,0000,0000,0060,0000,0140,
97 	0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,
98 	0140,0000,0140,0000,0060,0000,0000,0100,0000,0000,0140,0000,0020,
99 	0120,0000,0020,0000,0060,0000,0000,0060,0000,0000,0060,0000,0040,
100 	0140,0000,0020,0000,0100,0000,0000,0140,0000,0000,0140,0000,0020,
101 	0070,0125,0051,0162,0120,0105,0126,0104,0006,0044,0000,0017,0052,
102 	0140,0000,0020,0000,0140,0000,0000,0060,0000,0000,0060,0000,0040,
103 	0020,0000,0000,0000,0020,0000,0000,0000,0000,0000,0000,0000,0060,
104 	0140,0000,0160,0000,0200,0000,0000,0140,0000,0000,0000,0000,0240,
105 	0065,0042,0060,0200,0000,0210,0222,0146,0006,0204,0220,0012,0003,
106 	0240,0000,0020,0000,0120,0000,0000,0200,0000,0000,0200,0000,0240,
107 };
108 
109 unsigned char	xhx[26][13] = {
110 	0032,0146,0042,0107,0076,0102,0042,0146,0202,0050,0006,0000,0051,
111 	0036,0377,0057,0013,0057,0366,0377,0057,0001,0377,0057,0000,0040,
112 	0037,0377,0020,0000,0100,0022,0377,0057,0362,0116,0100,0000,0017,
113 	0057,0377,0057,0031,0137,0363,0377,0037,0362,0270,0077,0000,0117,
114 	0074,0142,0012,0236,0076,0125,0063,0165,0341,0046,0047,0000,0024,
115 	0020,0017,0075,0377,0040,0001,0377,0017,0001,0204,0020,0000,0040,
116 	0057,0017,0057,0340,0140,0362,0314,0117,0003,0302,0100,0000,0057,
117 	0057,0357,0077,0017,0100,0366,0314,0057,0342,0346,0037,0000,0060,
118 	0252,0145,0072,0157,0377,0165,0063,0066,0164,0050,0363,0000,0362,
119 	0000,0000,0020,0000,0020,0000,0000,0017,0000,0000,0020,0000,0000,
120 	0117,0017,0237,0377,0200,0354,0125,0110,0004,0257,0000,0000,0300,
121 	0057,0367,0054,0357,0157,0216,0314,0114,0217,0353,0053,0000,0057,
122 	0077,0213,0077,0077,0177,0317,0377,0114,0377,0352,0077,0000,0076,
123 	0077,0213,0077,0077,0157,0177,0377,0054,0377,0352,0117,0000,0075,
124 	0125,0230,0065,0216,0057,0066,0063,0047,0345,0126,0011,0000,0033,
125 	0057,0377,0051,0360,0120,0361,0273,0056,0001,0256,0057,0000,0060,
126 	0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,
127 	0076,0310,0056,0310,0137,0174,0273,0055,0335,0266,0033,0000,0155,
128 	0077,0157,0057,0360,0057,0063,0042,0024,0077,0206,0020,0000,0040,
129 	0057,0037,0077,0360,0100,0365,0377,0037,0362,0176,0050,0000,0026,
130 	0167,0146,0042,0112,0077,0110,0062,0254,0366,0052,0377,0000,0163,
131 	0060,0000,0040,0000,0120,0000,0377,0060,0012,0000,0037,0000,0257,
132 	0037,0232,0157,0361,0040,0003,0125,0010,0001,0256,0000,0000,0340,
133 	0377,0377,0377,0377,0377,0377,0377,0377,0377,0377,0377,0017,0277,
134 	0253,0315,0257,0216,0377,0206,0146,0306,0371,0126,0232,0000,0004,
135 	0057,0012,0100,0360,0160,0360,0000,0040,0000,0017,0157,0000,0176,
136 };
137 
138 unsigned char	xxh[26][13] = {
139 	0045,0150,0154,0162,0042,0246,0210,0147,0152,0103,0230,0017,0206,
140 	0100,0000,0040,0000,0140,0000,0000,0100,0000,0021,0120,0017,0060,
141 	0100,0000,0040,0002,0140,0320,0000,0060,0000,0001,0220,0017,0040,
142 	0100,0001,0120,0001,0241,0000,0000,0100,0000,0020,0140,0017,0060,
143 	0023,0162,0046,0142,0022,0207,0210,0131,0052,0106,0250,0017,0110,
144 	0060,0000,0042,0000,0160,0000,0000,0040,0000,0212,0100,0017,0000,
145 	0140,0000,0040,0002,0140,0000,0000,0120,0000,0040,0120,0017,0040,
146 	0100,0000,0100,0000,0140,0001,0021,0140,0000,0046,0100,0017,0140,
147 	0066,0045,0025,0201,0020,0130,0146,0030,0130,0103,0025,0017,0006,
148 	0100,0000,0040,0000,0020,0000,0000,0040,0000,0000,0200,0017,0000,
149 	0200,0000,0020,0001,0140,0000,0000,0140,0000,0000,0120,0017,0040,
150 	0120,0026,0042,0020,0140,0161,0042,0143,0000,0022,0162,0017,0040,
151 	0121,0042,0060,0020,0140,0200,0000,0123,0000,0021,0220,0017,0041,
152 	0121,0042,0060,0120,0140,0200,0000,0123,0000,0021,0160,0017,0041,
153 	0051,0126,0150,0141,0060,0210,0146,0066,0026,0165,0026,0017,0247,
154 	0120,0000,0040,0003,0160,0000,0000,0140,0000,0021,0100,0017,0140,
155 	0000,0000,0000,0000,0200,0000,0000,0000,0000,0000,0000,0017,0000,
156 	0141,0023,0122,0040,0160,0143,0042,0142,0000,0047,0143,0017,0020,
157 	0120,0000,0040,0006,0140,0060,0000,0141,0000,0026,0100,0017,0040,
158 	0140,0000,0020,0007,0100,0000,0000,0140,0000,0001,0140,0017,0020,
159 	0110,0125,0051,0162,0120,0125,0127,0104,0006,0104,0000,0017,0052,
160 	0140,0000,0040,0000,0160,0000,0000,0140,0000,0000,0060,0017,0000,
161 	0040,0005,0020,0000,0040,0313,0231,0030,0000,0140,0000,0017,0056,
162 	0140,0000,0160,0000,0200,0000,0000,0140,0000,0000,0000,0017,0240,
163 	0065,0042,0060,0040,0000,0206,0231,0146,0006,0224,0220,0017,0004,
164 	0240,0000,0020,0000,0140,0000,0000,0220,0000,0000,0200,0017,0141,
165 };
166