~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to texk/dvipdfmx/dvipdfmx-20110311/src/cid_basefont.h

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*  $Header: /home/cvsroot/dvipdfmx/src/cid_basefont.h,v 1.15 2007/11/15 17:08:52 chofchof Exp $
2
 
 
3
 
    This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
4
 
 
5
 
    Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
6
 
    the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
7
 
 
8
 
    This program is free software; you can redistribute it and/or modify
9
 
    it under the terms of the GNU General Public License as published by
10
 
    the Free Software Foundation; either version 2 of the License, or
11
 
    (at your option) any later version.
12
 
 
13
 
    This program is distributed in the hope that it will be useful,
14
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
    GNU General Public License for more details.
17
 
 
18
 
    You should have received a copy of the GNU General Public License
19
 
    along with this program; if not, write to the Free Software
20
 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21
 
*/
22
 
 
23
 
#ifndef _CID_BASEFONT_H_
24
 
#define _CID_BASEFONT_H_
25
 
 
26
 
/* PLEASE SEND INFORMATION ON FONTS
27
 
 *
28
 
 * Those fonts are only for fixed-pitch glyphs (full-, half-, third-,
29
 
 * and quarter- widths). Glyph widths should be determined solely from
30
 
 * CID and CIDSystemInfo for those never-embedded fonts. Fixed-pitch
31
 
 * pre-rotated forms are not supported yet.
32
 
 *
33
 
 * Font dictionaly entry Subtype and CIDSystemInfo is mandatory here.
34
 
 * Font descriptor entry CapHeight, Ascent, Descent, ItalicAngle, Flags,
35
 
 * FontBBox, and StemV is required. However, CapHeight, Ascent, Descent,
36
 
 * and ItalicAngle is irrelevant for font-matching of CJK fonts. Panose
37
 
 * entry in Style dictionary may affect in Acrobat. Serif font should
38
 
 * have flag bit position 2 (2) set and all CJK fonts should also have
39
 
 * bit position 3 (4) set: CJK font serif -> Flags 6, sans serif -> 4.
40
 
 *
41
 
 * Please always supply DW entry in font dictionary although this can
42
 
 * be optional. PDF reference 1.2 had been described default value for
43
 
 * DW as 0 (correct value if 1000) and several versions of Mac OS X
44
 
 * implement so!
45
 
 */
46
 
 
47
 
const struct {
48
 
  const char *fontname;
49
 
  const char *fontdict;
50
 
  const char *descriptor;
51
 
} cid_basefont[] = {
52
 
  /*
53
 
   *  Fonts found in printers
54
 
   *
55
 
   *  Ryumin-Light and GothicBBB-Medium is often available in
56
 
   *  PostScript printer sold in Japan. There may be additonal
57
 
   *  Morisawa fonts such as ShinGo-Bold, but less common than
58
 
   *  those two fonts.
59
 
   */
60
 
  {
61
 
    "Ryumin-Light",
62
 
    "<< \
63
 
/Subtype/CIDFontType0 \
64
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
65
 
/DW 1000 \
66
 
/W [\
67
 
  231   632 500 \
68
 
 8718 [500 500] \
69
 
]\
70
 
>>",
71
 
    "<< \
72
 
/CapHeight 709 /Ascent 723 /Descent -241 /StemV 69 \
73
 
/FontBBox [-170 -331 1024 903] \
74
 
/ItalicAngle 0 /Flags 6 \
75
 
/Style << /Panose <010502020300000000000000> >> \
76
 
>>"
77
 
  },
78
 
  {
79
 
    "GothicBBB-Medium",
80
 
    "<< \
81
 
/Subtype/CIDFontType0 \
82
 
/CIDSystemInfo <<  /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
83
 
/DW 1000 \
84
 
/W [\
85
 
  231   632 500 \
86
 
 8718 [500 500] \
87
 
]\
88
 
>>",
89
 
    "<< \
90
 
/CapHeight 737 /Ascent 752 /Descent -271 /StemV 99 \
91
 
/FontBBox [-174 -268 1001 944] \
92
 
/ItalicAngle 0 /Flags 4 \
93
 
/Style << /Panose <0801020b0500000000000000> >> \
94
 
>>"
95
 
  },
96
 
 
97
 
  /* Adobe Asian Font Packs for Acrobat Reader 4 */
98
 
  {
99
 
    "MHei-Medium-Acro",
100
 
    "<< \
101
 
/Subtype /CIDFontType0 \
102
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 0 >> \
103
 
/DW 1000 \
104
 
/W [\
105
 
13648 13742 500 \
106
 
17603 [500] \
107
 
]\
108
 
>>",
109
 
    "<< \
110
 
/Ascent 752 /CapHeight 737 /Descent -271 /StemV 58 \
111
 
/FontBBox [-45 -250 1015 887] \
112
 
/ItalicAngle 0 /Flags 4 /XHeight 553 \
113
 
/Style << /Panose <000001000600000000000000> >> \
114
 
>>"
115
 
  },
116
 
  {
117
 
    "MSung-Light-Acro",
118
 
    "<< \
119
 
/Subtype /CIDFontType0 \
120
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 0 >> \
121
 
/DW 1000 \
122
 
/W [\
123
 
13648 13742 500 \
124
 
17603 [500] \
125
 
]\
126
 
>>",
127
 
    "<< \
128
 
/Ascent 752 /CapHeight 737 /Descent -271 /StemV 58 \
129
 
/FontBBox [-160 -259 1015 888] \
130
 
/ItalicAngle 0 /Flags 6 /XHeight 553 \
131
 
/Style << /Panose <000000000400000000000000> >> \
132
 
>>"
133
 
  },
134
 
  {
135
 
    "STSong-Light-Acro",
136
 
    "<< \
137
 
/Subtype /CIDFontType0 \
138
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 2 >> \
139
 
/DW 1000 \
140
 
/W [\
141
 
  814 939 500 \
142
 
 7716 [500] \
143
 
22355 [500 500] \
144
 
22357 [500] \
145
 
]\
146
 
>>",
147
 
    "<< \
148
 
/Ascent 857 /CapHeight 857 /Descent -143 /StemV 91 \
149
 
/FontBBox [-250 -143 600 857] \
150
 
/ItalicAngle 0 /Flags 6 /XHeight 599 \
151
 
/Style << /Panose <000000000400000000000000> >> \
152
 
>>"
153
 
  },
154
 
  {
155
 
    "HeiseiKakuGo-W5-Acro",
156
 
    "<< \
157
 
/Subtype /CIDFontType0 \
158
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement  2 >> \
159
 
/DW 1000 \
160
 
/W [\
161
 
  231   632 500 \
162
 
 8718 [500 500] \
163
 
]\
164
 
>>",
165
 
    "<< \
166
 
/Ascent 752 /CapHeight 737 /Descent -221 /StemV 114 \
167
 
/FontBBox [-92 -250 1010 922] \
168
 
/ItalicAngle 0 /Flags 4 /XHeight 553 \
169
 
/Style << /Panose <000001000500000000000000> >> \
170
 
>>"
171
 
  },
172
 
  {
173
 
    "HeiseiMin-W3-Acro",
174
 
    "<< \
175
 
/Subtype /CIDFontType0 \
176
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
177
 
/DW 1000 \
178
 
/W [\
179
 
  231   632 500 \
180
 
 8718 [500 500] \
181
 
]\
182
 
>>",
183
 
    "<< \
184
 
/Ascent 723 /CapHeight 709 /Descent -241 /StemV 69 \
185
 
/FontBBox [-123 -257 1001 910] \
186
 
/ItalicAngle 0 /Flags 6 /XHeight 450 \
187
 
/Style << /Panose <000002020500000000000000> >> \
188
 
>>"
189
 
  },
190
 
  {
191
 
    "HYGoThic-Medium-Acro",
192
 
    "<< \
193
 
/Subtype /CIDFontType0 \
194
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 1 >> \
195
 
/DW 1000 \
196
 
/W [\
197
 
   97 [500] \
198
 
 8094  8190 500 \
199
 
]\
200
 
>>",
201
 
    "<< \
202
 
/Ascent 752 /CapHeight 737 /Descent -271 /StemV 58 \
203
 
/FontBBox [-6 -145 1003 880] \
204
 
/ItalicAngle 0 /Flags 4 /XHeight 553 \
205
 
/Style << /Panose <000001000600000000000000> >> \
206
 
>>"
207
 
  },
208
 
  {
209
 
    "HYSMyeongJo-Medium-Acro",
210
 
    "<< \
211
 
/Subtype /CIDFontType0 \
212
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 1 >> \
213
 
/DW 1000 \
214
 
/W [\
215
 
   97 [500] \
216
 
 8094  8190 500 \
217
 
]\
218
 
>>",
219
 
    "<< \
220
 
/Ascent 752 /CapHeight 737 /Descent -271 /StemV 58 \
221
 
/FontBBox [-0 -148 1001 880] \
222
 
/ItalicAngle 0 /Flags 6 /XHeight 553 \
223
 
/Style << /Panose <000000000600000000000000> >> \
224
 
>>"
225
 
  },
226
 
 
227
 
  /* Acrobat Reader 5 */
228
 
  {
229
 
    "MSungStd-Light-Acro",
230
 
    "<< \
231
 
/Subtype /CIDFontType0 \
232
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 4 >> \
233
 
/DW 1000 \
234
 
/W [\
235
 
13648 13742 500 \
236
 
17603 [500] \
237
 
]\
238
 
>>",
239
 
    "<< \
240
 
/Ascent 880 /CapHeight 662 /Descent -120 /StemV 54 \
241
 
/FontBBox [-160 -249 1015 1071] \
242
 
/ItalicAngle 0 /Flags 6 \
243
 
/Style << /Panose <000000000400000000000000> >> \
244
 
>>"
245
 
  },
246
 
  {
247
 
    "STSongStd-Light-Acro",
248
 
    "<< \
249
 
/Subtype /CIDFontType0 \
250
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
251
 
/DW 1000 \
252
 
/W [\
253
 
  814 939 500 \
254
 
 7716 [500] \
255
 
22355 [500 500] \
256
 
22357 [500] \
257
 
]\
258
 
>>",
259
 
    "<< \
260
 
/Ascent 880 /CapHeight 626 /Descent -120 /StemV 44 \
261
 
/FontBBox [-134 -254 1001 905] \
262
 
/ItalicAngle 0 /Flags 6 \
263
 
/Style << /Panose <000000000400000000000000> >> \
264
 
>>"
265
 
  },
266
 
  {
267
 
    "HYSMyeongJoStd-Medium-Acro",
268
 
    "<< \
269
 
/Subtype /CIDFontType0 \
270
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 2 >> \
271
 
/DW 1000 \
272
 
/W [\
273
 
   97 [500] \
274
 
 8094  8190 500 \
275
 
]\
276
 
>>",
277
 
    "<< \
278
 
/Ascent 880 /CapHeight 720 /Descent -120 /StemV 60 \
279
 
/FontBBox [-28 -148 1001 880] \
280
 
/ItalicAngle 0 /Flags 6 \
281
 
/Style << /Panose <000000000600000000000000> >> \
282
 
>>"
283
 
  },
284
 
 
285
 
  /* Adobe Asian Font Packs for Adobe Reader 6 */
286
 
 
287
 
  /*
288
 
   * Widths of Adobe-CNS1-4
289
 
   *     1    95  proportional
290
 
   * 13648 13742  half-width
291
 
   * 17601 17601  proportional?
292
 
   * 17603 17603  half-width?
293
 
   */
294
 
  {
295
 
    "AdobeMingStd-Light-Acro",
296
 
    "<< \
297
 
/Subtype/CIDFontType0 \
298
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 4 >> \
299
 
/DW 1000 \
300
 
/W [\
301
 
13648 13742 500 \
302
 
17603 [500] \
303
 
]\
304
 
>>",
305
 
    "<< \
306
 
/Ascent 880 /Descent -120 /StemV 48 /CapHeight 731 \
307
 
/FontBBox [-38 -121 1002 918] \
308
 
/ItalicAngle 0 /Flags 6 /XHeight 466 \
309
 
/Style << /Panose <000002020300000000000000> >> \
310
 
>>"
311
 
  },
312
 
  /*
313
 
   * Widths of Adobe-GB1-4
314
 
   *     1    95  proportional
315
 
   *   814   939  half-width
316
 
   *  7712  7715  proportional
317
 
   *  7716  7716  half-width space
318
 
   * 22353 22354  proportional
319
 
   * 22355 22357  half-width
320
 
   */
321
 
  {
322
 
    "AdobeSongStd-Light-Acro",
323
 
    "<< \
324
 
/Subtype/CIDFontType0 \
325
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
326
 
/DW 1000 \
327
 
/W [\
328
 
  814 939 500 \
329
 
 7716 [500] \
330
 
22355 [500 500] \
331
 
22357 [500] \
332
 
]\
333
 
>>",
334
 
    "<< \
335
 
/Ascent 880 /Descent -120 /StemV 66 /CapHeight 626 \
336
 
/FontBBox [-134 -254 1001 905] \
337
 
/ItalicAngle 0 /Flags 6 /XHeight 416 \
338
 
/Style << /Panose <000002020300000000000000> >> \
339
 
>>"
340
 
  },
341
 
  /*
342
 
   * Widths of Adobe-Japan1-4
343
 
   *     1   230  proportional
344
 
   *   231   632  half-width
345
 
   *  9354  9737  proportional
346
 
   *  9738  9757  quater-width
347
 
   *  9758  9778  third-width
348
 
   * 12063 12087  half-width
349
 
   */
350
 
  {
351
 
    "KozMinPro-Regular-Acro",
352
 
    "<< \
353
 
/Subtype/CIDFontType0 \
354
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 4 >> \
355
 
/DW 1000 \
356
 
/W [\
357
 
  231   632 500 \
358
 
 8718 [500 500] \
359
 
 9738  9757 250 \
360
 
 9758  9778 333 \
361
 
12063 12087 500 \
362
 
]\
363
 
>>",
364
 
    "<< \
365
 
/Ascent 880 /Descent -120 /StemV 86 /CapHeight 740 \
366
 
/FontBBox [-195 -272 1110 1075] \
367
 
/ItalicAngle 0 /Flags 6 /XHeight 502 \
368
 
/Style << /Panose <000002020400000000000000> >> \
369
 
>>"
370
 
  },
371
 
  {
372
 
    "KozGoPro-Medium-Acro",
373
 
    "<< \
374
 
/Subtype/CIDFontType0 \
375
 
/CIDSystemInfo << /Registry (Adobe) /Ordering(Japan1) /Supplement 4 >> \
376
 
/DW 1000 \
377
 
/W [\
378
 
  231   632 500 \
379
 
 8718 [500 500] \
380
 
 9738  9757 250 \
381
 
 9758  9778 333 \
382
 
12063 12087 500 \
383
 
]\
384
 
>>",
385
 
    "<< \
386
 
/Ascent 880 /Descent -120 /StemV 99 /CapHeight 763 \
387
 
/FontBBox [-149 -374 1254 1008] \
388
 
/ItalicAngle 0 /Flags 4 /XHeight 549 \
389
 
/Style << /Panose <0000020b0700000000000000> >> \
390
 
>>"
391
 
  },
392
 
  /*
393
 
   * Widths of Adobe-Korea1-2
394
 
   *     1    95  proportional
395
 
   *    97    97  half-width?
396
 
   *  8094  8190  half-width
397
 
   */
398
 
  {
399
 
    "AdobeMyungjoStd-Medium-Acro",
400
 
    "<< \
401
 
/Subtype/CIDFontType0 \
402
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 2 >> \
403
 
/DW 1000 \
404
 
/W [\
405
 
   97 [500] \
406
 
 8094  8190 500 \
407
 
]\
408
 
>>",
409
 
    "<< \
410
 
/Ascent 880 /Descent -120 /StemV 99 /CapHeight 719 \
411
 
/FontBBox [-28 -148 1001 880] \
412
 
/ItalicAngle 0 /Flags 6 /XHeight 478 \
413
 
/Style << /Panose <000002020600000000000000> >> \
414
 
>>"
415
 
  },
416
 
 
417
 
  /* Addition in Adobe Reader 7 */
418
 
  /*
419
 
   *  Adobe-Japan1-5
420
 
   *   15449-15911 proportional
421
 
   *   15912-15975 proportional
422
 
   *   15976-16192 proportional (vert)
423
 
   *   16469-16714 pre-rotated proportional
424
 
   *   16715-16778 pre-rotated proportional
425
 
   *  Adobe-Japan1-6
426
 
   *   20317-20371 proportional
427
 
   *   20372-20426 proportional
428
 
   *   20958       - (reserved for future use)
429
 
   *   20961-21015 pre-rotated proportional
430
 
   *   21016-21070 pre-rotated proportional
431
 
   */
432
 
  {
433
 
    "KozMinProVI-Regular",
434
 
    "<< \
435
 
/Subtype/CIDFontType0 \
436
 
/CIDSystemInfo << \
437
 
  /Registry (Adobe) \
438
 
  /Ordering (Japan1) \
439
 
  /Supplement 6 \
440
 
>> \
441
 
/DW 1000 \
442
 
/W [\
443
 
  231   632 500 \
444
 
  8718 [500 500] \
445
 
  9738  9757 250 \
446
 
  9758  9778 333 \
447
 
  12063 12087 500 \
448
 
]\
449
 
        >>",
450
 
    "<< \
451
 
/Ascent 880 /Descent -120 /StemV 86 /CapHeight 742 \
452
 
/FontBBox [-437 -340 1144 1317] \
453
 
/ItalicAngle 0 /Flags 6 /XHeight 503 \
454
 
/Style << \
455
 
  /Panose <000002020400000000000000> \
456
 
>> \
457
 
     >>"
458
 
  },
459
 
 
460
 
  /* Addition in Adobe Reader 8 */
461
 
  /*
462
 
   * Font information of AdobeHeitiStd-Regular.otf may not be correct!
463
 
   * Just copied the information of AdobeSongStd-Light.otf.
464
 
   */
465
 
  {
466
 
    "AdobeHeitiStd-Regular",
467
 
    "<< \
468
 
/Subtype/CIDFontType0 \
469
 
/CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
470
 
/DW 1000 \
471
 
/W [\
472
 
  814 939 500 \
473
 
 7716 [500] \
474
 
22355 [500 500] \
475
 
22357 [500] \
476
 
]\
477
 
>>",
478
 
    "<< \
479
 
/Ascent 880 /Descent -120 /StemV 66 /CapHeight 626 \
480
 
/FontBBox [-134 -254 1001 905] \
481
 
/ItalicAngle 0 /Flags 6 /XHeight 416 \
482
 
/Style << /Panose <000002020300000000000000> >> \
483
 
>>"
484
 
  },
485
 
  /* END */
486
 
  {NULL, NULL, NULL}
487
 
};
488
 
 
489
 
#endif /* _CID_BASEFONT_H_ */