*** empty log message ***
[h316.git] / pc-tools / fontgen / src / hershey_map.c
1 /* Automatically generated Hershey font mappings */
2
3 #include "fontgen.h"
4 #include <stdio.h>
5
6
7 /* Font map for cyrilc */
8 int cyrilc_map[]=
9 {2199,2214,2213,2275,2274,2271,2272,2251,
10 2221,2222,2219,2232,2211,2231,2210,2220,
11 2200,2201,2202,2203,2204,2205,2206,2207,
12 2208,2209,2212,2213,2241,2238,2242,2215,
13 2273,2801,2802,2803,2804,2805,2806,2807,
14 2808,2809,2810,2811,2812,2813,2814,2815,
15 2816,2817,2818,2819,2820,2821,2822,2823,
16 2824,2825,2826,2223,804,2224,2262,999,
17 2252,2901,2902,2903,2904,2905,2906,2907,
18 2908,2909,2910,2911,2912,2913,2914,2915,
19 2916,2917,2918,2919,2920,2921,2922,2923,
20 2924,2925,2926,2225,2229,2226,2246,2218};
21
22 /* Font map for gothgbt */
23 int gothgbt_map[]=
24 {3699,3714,3728,2275,3719,2271,3718,3717,
25 3721,3722,3723,3725,3711,3724,3710,3720,
26 3700,3701,3702,3703,3704,3705,3706,3707,
27 3708,3709,3712,3713,2241,3726,2242,3715,
28 2273,3501,3502,3503,3504,3505,3506,3507,
29 3508,3509,3510,3511,3512,3513,3514,3515,
30 3516,3517,3518,3519,3520,3521,3522,3523,
31 3524,3525,3526,2223,804,2224,2262,999,
32 3716,3601,3602,3603,3604,3605,3606,3607,
33 3608,3609,3610,3611,3612,3613,3614,3615,
34 3616,3617,3618,3619,3620,3621,3622,3623,
35 3624,3625,3626,2225,2229,2226,2246,3729};
36
37 /* Font map for gothgrt */
38 int gothgrt_map[]=
39 {3699,3714,3728,2275,3719,2271,3718,3717,
40 3721,3722,3723,3725,3711,3724,3710,3720,
41 3700,3701,3702,3703,3704,3705,3706,3707,
42 3708,3709,3712,3713,2241,3726,2242,3715,
43 2273,3301,3302,3303,3304,3305,3306,3307,
44 3308,3309,3310,3311,3312,3313,3314,3315,
45 3316,3317,3318,3319,3320,3321,3322,3323,
46 3324,3325,3326,2223,804,2224,2262,999,
47 3716,3401,3402,3403,3404,3405,3406,3407,
48 3408,3409,3410,3411,3412,3413,3414,3415,
49 3416,3417,3418,3419,3420,3421,3422,3423,
50 3424,3425,3426,2225,2229,2226,2246,3729};
51
52 /* Font map for gothitt */
53 int gothitt_map[]=
54 {3699,3714,3728,2275,3719,2271,3718,3717,
55 3721,3722,3723,3725,3711,3724,3710,3720,
56 3700,3701,3702,3703,3704,3705,3706,3707,
57 3708,3709,3712,3713,2241,3726,2242,3715,
58 2273,3801,3802,3803,3804,3805,3806,3807,
59 3808,3809,3810,3811,3812,3813,3814,3815,
60 3816,3817,3818,3819,3820,3821,3822,3823,
61 3824,3825,3826,2223,804,2224,2262,999,
62 3716,3901,3902,3903,3904,3905,3906,3907,
63 3908,3909,3910,3911,3912,3913,3914,3915,
64 3916,3917,3918,3919,3920,3921,3922,3923,
65 3924,3925,3926,2225,2229,2226,2246,3729};
66
67 /* Font map for greekc */
68 int greekc_map[]=
69 {2199,2214,2213,2275,2274,2271,2272,2251,
70 2221,2222,2219,2232,2211,2231,2210,2220,
71 2200,2201,2202,2203,2204,2205,2206,2207,
72 2208,2209,2212,2213,2241,2238,2242,2215,
73 2273,2027,2028,2029,2030,2031,2032,2033,
74 2034,2035,2036,2037,2038,2039,2040,2041,
75 2042,2043,2044,2045,2046,2047,2048,2049,
76 2050,2199,2199,2223,804,2224,2262,999,
77 2252,2127,2128,2129,2130,2131,2132,2133,
78 2134,2135,2136,2137,2138,2139,2140,2141,
79 2142,2143,2144,2145,2146,2147,2148,2149,
80 2150,2199,2199,2225,2229,2226,2246,2218};
81
82 /* Font map for greekcs */
83 int greekcs_map[]=
84 {1199,1214,1213,1275,1274,1271,1272,1251,
85 1221,1222,1219,1232,1211,1231,1210,1220,
86 1200,1201,1202,1203,1204,1205,1206,1207,
87 1208,1209,1212,1213,1241,1238,1242,1215,
88 1273,1027,1028,1029,1030,1031,1032,1033,
89 1034,1035,1036,1037,1038,1039,1040,1041,
90 1042,1043,1044,1045,1046,1047,1048,1049,
91 1050,1199,1199,1223,804,1224,1262,998,
92 1252,1127,1128,1129,1130,1131,1132,1133,
93 1134,1135,1136,1137,1138,1139,1140,1141,
94 1142,1143,1144,1145,1146,1147,1148,1149,
95 1150,1199,1199,1225,1229,1226,1246,1218};
96
97 /* Font map for greekp */
98 int greekp_map[]=
99 {199,214,217,233,219,1271,234,231,
100 221,222,1219,225,211,224,210,220,
101 200,201,202,203,204,205,206,207,
102 208,209,212,213,1241,226,1242,215,
103 1273,27,28,29,30,31,32,33,
104 34,35,36,37,38,39,40,41,
105 42,43,44,45,46,47,48,49,
106 50,199,199,1223,809,1224,1262,997,
107 230,27,28,29,30,31,32,33,
108 34,35,36,37,38,39,40,41,
109 42,43,44,45,46,47,48,49,
110 50,199,199,1225,223,1226,1246,218};
111
112 /* Font map for greeks */
113 int greeks_map[]=
114 {699,714,717,733,719,2271,734,731,
115 721,722,2219,725,711,724,710,720,
116 700,701,702,703,704,705,706,707,
117 708,709,712,713,2241,726,2242,715,
118 2273,527,528,529,530,531,532,533,
119 534,535,536,537,538,539,540,541,
120 542,543,544,545,546,547,548,549,
121 550,699,699,2223,804,2224,2262,999,
122 730,627,628,629,630,631,632,633,
123 634,635,636,637,638,639,640,641,
124 642,643,644,645,646,647,648,649,
125 650,699,699,2225,723,2226,2246,718};
126
127 /* Font map for italicc */
128 int italicc_map[]=
129 {2749,2764,2778,2275,2769,2271,2768,2767,
130 2771,2772,2773,2775,2761,2774,2760,2770,
131 2750,2751,2752,2753,2754,2755,2756,2757,
132 2758,2759,2762,2763,2241,2776,2242,2765,
133 2273,2051,2052,2053,2054,2055,2056,2057,
134 2058,2059,2060,2061,2062,2063,2064,2065,
135 2066,2067,2068,2069,2070,2071,2072,2073,
136 2074,2075,2076,2223,804,2224,2262,999,
137 2766,2151,2152,2153,2154,2155,2156,2157,
138 2158,2159,2160,2161,2162,2163,2164,2165,
139 2166,2167,2168,2169,2170,2171,2172,2173,
140 2174,2175,2176,2225,2229,2226,2246,2779};
141
142 /* Font map for italiccs */
143 int italiccs_map[]=
144 {1199,1214,1213,1275,1274,1271,1272,1251,
145 1221,1222,1219,1232,1211,1231,1210,802,
146 1200,1201,1202,1203,1204,1205,1206,1207,
147 1208,1209,1212,1213,1241,1238,1242,1215,
148 1273,1051,1052,1053,1054,1055,1056,1057,
149 1058,1059,1060,1061,1062,1063,1064,1065,
150 1066,1067,1068,1069,1070,1071,1072,1073,
151 1074,1075,1076,1223,804,1224,1262,998,
152 1252,1151,1152,1153,1154,1155,1156,1157,
153 1158,1159,1160,1161,1162,1163,1164,1165,
154 1166,1167,1168,1169,1170,1171,1172,1173,
155 1174,1175,1176,1225,1229,1226,1246,1218};
156
157 /* Font map for italict */
158 int italict_map[]=
159 {3249,3264,3278,2275,3269,2271,3268,3267,
160 3271,3272,3273,3275,3261,3274,3260,3270,
161 3250,3251,3252,3253,3254,3255,3256,3257,
162 3258,3259,3262,3263,2241,3276,2242,3265,
163 2273,3051,3052,3053,3054,3055,3056,3057,
164 3058,3059,3060,3061,3062,3063,3064,3065,
165 3066,3067,3068,3069,3070,3071,3072,3073,
166 3074,3075,3076,2223,804,2224,2262,999,
167 3266,3151,3152,3153,3154,3155,3156,3157,
168 3158,3159,3160,3161,3162,3163,3164,3165,
169 3166,3167,3168,3169,3170,3171,3172,3173,
170 3174,3175,3176,2225,2229,2226,2246,3279};
171
172 /* Font map for romanc */
173 int romanc_map[]=
174 {2199,2214,2213,2275,2274,2271,2272,2251,
175 2221,2222,2219,2232,2211,2231,2210,2220,
176 2200,2201,2202,2203,2204,2205,2206,2207,
177 2208,2209,2212,2213,2241,2238,2242,2215,
178 2273,2001,2002,2003,2004,2005,2006,2007,
179 2008,2009,2010,2011,2012,2013,2014,2015,
180 2016,2017,2018,2019,2020,2021,2022,2023,
181 2024,2025,2026,2223,804,2224,2262,999,
182 2252,2101,2102,2103,2104,2105,2106,2107,
183 2108,2109,2110,2111,2112,2113,2114,2115,
184 2116,2117,2118,2119,2120,2121,2122,2123,
185 2124,2125,2126,2225,2229,2226,2246,2218};
186
187 /* Font map for romancs */
188 int romancs_map[]=
189 {1199,1214,1213,1275,1274,1271,1272,1251,
190 1221,1222,1219,1232,1211,1231,1210,1220,
191 1200,1201,1202,1203,1204,1205,1206,1207,
192 1208,1209,1212,1213,1241,1238,1242,1215,
193 1273,1001,1002,1003,1004,1005,1006,1007,
194 1008,1009,1010,1011,1012,1013,1014,1015,
195 1016,1017,1018,1019,1020,1021,1022,1023,
196 1024,1025,1026,1223,804,1224,1262,998,
197 1252,1101,1102,1103,1104,1105,1106,1107,
198 1108,1109,1110,1111,1112,1113,1114,1115,
199 1116,1117,1118,1119,1120,1121,1122,1123,
200 1124,1125,1126,1225,1229,1226,1246,1218};
201
202 /* Font map for romand */
203 int romand_map[]=
204 {2699,2714,2728,2275,2719,2271,2718,2717,
205 2721,2722,2723,2725,2711,2724,2710,2720,
206 2700,2701,2702,2703,2704,2705,2706,2707,
207 2708,2709,2712,2713,2241,2726,2242,2715,
208 2273,2501,2502,2503,2504,2505,2506,2507,
209 2508,2509,2510,2511,2512,2513,2514,2515,
210 2516,2517,2518,2519,2520,2521,2522,2523,
211 2524,2525,2526,2223,804,2224,2262,999,
212 2716,2601,2602,2603,2604,2605,2606,2607,
213 2608,2609,2610,2611,2612,2613,2614,2615,
214 2616,2617,2618,2619,2620,2621,2622,2623,
215 2624,2625,2626,2225,2229,2226,2246,2729};
216
217 /* Font map for romanp */
218 int romanp_map[]=
219 {199,214,217,233,219,1271,234,231,
220 221,222,1219,225,211,224,210,220,
221 200,201,202,203,204,205,206,207,
222 208,209,212,213,1241,226,1242,215,
223 1273,1,2,3,4,5,6,7,
224 8,9,10,11,12,13,14,15,
225 16,17,18,19,20,21,22,23,
226 24,25,26,1223,809,1224,1262,997,
227 230,1,2,3,4,5,6,7,
228 8,9,10,11,12,13,14,15,
229 16,17,18,19,20,21,22,23,
230 24,25,26,1225,223,1226,1246,218};
231
232 /* Font map for romans */
233 int romans_map[]=
234 {699,714,717,733,719,2271,734,731,
235 721,722,2219,725,711,724,710,720,
236 700,701,702,703,704,705,706,707,
237 708,709,712,713,2241,726,2242,715,
238 2273,501,502,503,504,505,506,507,
239 508,509,510,511,512,513,514,515,
240 516,517,518,519,520,521,522,523,
241 524,525,526,2223,804,2224,2262,999,
242 730,601,602,603,604,605,606,607,
243 608,609,610,611,612,613,614,615,
244 616,617,618,619,620,621,622,623,
245 624,625,626,2225,723,2226,2246,718};
246
247 /* Font map for romant */
248 int romant_map[]=
249 {3199,3214,3228,2275,3219,2271,3218,3217,
250 3221,3222,3223,3225,3211,3224,3210,3220,
251 3200,3201,3202,3203,3204,3205,3206,3207,
252 3208,3209,3212,3213,2241,3226,2242,3215,
253 2273,3001,3002,3003,3004,3005,3006,3007,
254 3008,3009,3010,3011,3012,3013,3014,3015,
255 3016,3017,3018,3019,3020,3021,3022,3023,
256 3024,3025,3026,2223,804,2224,2262,999,
257 3216,3101,3102,3103,3104,3105,3106,3107,
258 3108,3109,3110,3111,3112,3113,3114,3115,
259 3116,3117,3118,3119,3120,3121,3122,3123,
260 3124,3125,3126,2225,2229,2226,2246,3229};
261
262 /* Font map for scriptc */
263 int scriptc_map[]=
264 {2749,2764,2778,2275,2769,2271,2768,2767,
265 2771,2772,2773,2775,2761,2774,2760,2770,
266 2750,2751,2752,2753,2754,2755,2756,2757,
267 2758,2759,2762,2763,2241,2776,2242,2765,
268 2273,2551,2552,2553,2554,2555,2556,2557,
269 2558,2559,2560,2561,2562,2563,2564,2565,
270 2566,2567,2568,2569,2570,2571,2572,2573,
271 2574,2575,2576,2223,804,2224,2262,999,
272 2766,2651,2652,2653,2654,2655,2656,2657,
273 2658,2659,2660,2661,2662,2663,2664,2665,
274 2666,2667,2668,2669,2670,2671,2672,2673,
275 2674,2675,2676,2225,2229,2226,2246,2779};
276
277 /* Font map for scripts */
278 int scripts_map[]=
279 {699,2764,2778,733,2769,2271,2768,2767,
280 2771,2772,2773,725,2761,724,710,2770,
281 2750,2751,2752,2753,2754,2755,2756,2757,
282 2758,2759,2762,2763,2241,726,2242,2765,
283 2273,551,552,553,554,555,556,557,
284 558,559,560,561,562,563,564,565,
285 566,567,568,569,570,571,572,573,
286 574,575,576,2223,804,2224,2262,999,
287 2766,651,652,653,654,655,656,657,
288 658,659,660,661,662,663,664,665,
289 666,667,668,669,670,671,672,673,
290 674,675,676,2225,723,2226,2246,718};
291
292
293 /* And now the ready to use fonts */
294 pl_font font_cyrilc;
295 pl_font font_gothgbt;
296 pl_font font_gothgrt;
297 pl_font font_gothitt;
298 pl_font font_greekc;
299 pl_font font_greekcs;
300 pl_font font_greekp;
301 pl_font font_greeks;
302 pl_font font_italicc;
303 pl_font font_italiccs;
304 pl_font font_italict;
305 pl_font font_romanc;
306 pl_font font_romancs;
307 pl_font font_romand;
308 pl_font font_romanp;
309 pl_font font_romans;
310 pl_font font_romant;
311 pl_font font_scriptc;
312 pl_font font_scripts;
313
314
315 /* Initialisation routine */
316
317 void font_init(){
318 font_cyrilc=assemble_font(' ',96,cyrilc_map);
319 font_gothgbt=assemble_font(' ',96,gothgbt_map);
320 font_gothgrt=assemble_font(' ',96,gothgrt_map);
321 font_gothitt=assemble_font(' ',96,gothitt_map);
322 font_greekc=assemble_font(' ',96,greekc_map);
323 font_greekcs=assemble_font(' ',96,greekcs_map);
324 font_greekp=assemble_font(' ',96,greekp_map);
325 font_greeks=assemble_font(' ',96,greeks_map);
326 font_italicc=assemble_font(' ',96,italicc_map);
327 font_italiccs=assemble_font(' ',96,italiccs_map);
328 font_italict=assemble_font(' ',96,italict_map);
329 font_romanc=assemble_font(' ',96,romanc_map);
330 font_romancs=assemble_font(' ',96,romancs_map);
331 font_romand=assemble_font(' ',96,romand_map);
332 font_romanp=assemble_font(' ',96,romanp_map);
333 font_romans=assemble_font(' ',96,romans_map);
334 font_romant=assemble_font(' ',96,romant_map);
335 font_scriptc=assemble_font(' ',96,scriptc_map);
336 font_scripts=assemble_font(' ',96,scripts_map);
337 }
338 /* End. */