3 This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
5 Copyright (C) 2002-2012 by Jin-Hwan Cho and Shunsaku Hirata,
6 the dvipdfmx project team.
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.
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.
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.
23 #ifndef _CID_BASEFONT_H_
24 #define _CID_BASEFONT_H_
26 /* PLEASE SEND INFORMATION ON FONTS
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.
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.
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
50 const char *descriptor;
53 * Fonts found in printers
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
63 /Subtype/CIDFontType0 \
64 /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
72 /CapHeight 709 /Ascent 723 /Descent -241 /StemV 69 \
73 /FontBBox [-170 -331 1024 903] \
74 /ItalicAngle 0 /Flags 6 \
75 /Style << /Panose <010502020300000000000000> >> \
81 /Subtype/CIDFontType0 \
82 /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
90 /CapHeight 737 /Ascent 752 /Descent -271 /StemV 99 \
91 /FontBBox [-174 -268 1001 944] \
92 /ItalicAngle 0 /Flags 4 \
93 /Style << /Panose <0801020b0500000000000000> >> \
97 /* Adobe Asian Font Packs for Acrobat Reader 4 */
101 /Subtype /CIDFontType0 \
102 /CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 0 >> \
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> >> \
119 /Subtype /CIDFontType0 \
120 /CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 0 >> \
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> >> \
137 /Subtype /CIDFontType0 \
138 /CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 2 >> \
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> >> \
155 "HeiseiKakuGo-W5-Acro",
157 /Subtype /CIDFontType0 \
158 /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
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> >> \
175 /Subtype /CIDFontType0 \
176 /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 2 >> \
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> >> \
191 "HYGoThic-Medium-Acro",
193 /Subtype /CIDFontType0 \
194 /CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 1 >> \
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> >> \
209 "HYSMyeongJo-Medium-Acro",
211 /Subtype /CIDFontType0 \
212 /CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 1 >> \
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> >> \
227 /* Acrobat Reader 5 */
229 "MSungStd-Light-Acro",
231 /Subtype /CIDFontType0 \
232 /CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 4 >> \
240 /Ascent 880 /CapHeight 662 /Descent -120 /StemV 54 \
241 /FontBBox [-160 -249 1015 1071] \
242 /ItalicAngle 0 /Flags 6 \
243 /Style << /Panose <000000000400000000000000> >> \
247 "STSongStd-Light-Acro",
249 /Subtype /CIDFontType0 \
250 /CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
260 /Ascent 880 /CapHeight 626 /Descent -120 /StemV 44 \
261 /FontBBox [-134 -254 1001 905] \
262 /ItalicAngle 0 /Flags 6 \
263 /Style << /Panose <000000000400000000000000> >> \
267 "HYSMyeongJoStd-Medium-Acro",
269 /Subtype /CIDFontType0 \
270 /CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 2 >> \
278 /Ascent 880 /CapHeight 720 /Descent -120 /StemV 60 \
279 /FontBBox [-28 -148 1001 880] \
280 /ItalicAngle 0 /Flags 6 \
281 /Style << /Panose <000000000600000000000000> >> \
285 /* Adobe Asian Font Packs for Adobe Reader 6 */
288 * Widths of Adobe-CNS1-4
290 * 13648 13742 half-width
291 * 17601 17601 proportional?
292 * 17603 17603 half-width?
295 "AdobeMingStd-Light-Acro",
297 /Subtype/CIDFontType0 \
298 /CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) /Supplement 4 >> \
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> >> \
313 * Widths of Adobe-GB1-4
316 * 7712 7715 proportional
317 * 7716 7716 half-width space
318 * 22353 22354 proportional
319 * 22355 22357 half-width
322 "AdobeSongStd-Light-Acro",
324 /Subtype/CIDFontType0 \
325 /CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
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> >> \
342 * Widths of Adobe-Japan1-4
345 * 9354 9737 proportional
346 * 9738 9757 quater-width
347 * 9758 9778 third-width
348 * 12063 12087 half-width
351 "KozMinPro-Regular-Acro",
353 /Subtype/CIDFontType0 \
354 /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 4 >> \
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> >> \
372 "KozGoPro-Medium-Acro",
374 /Subtype/CIDFontType0 \
375 /CIDSystemInfo << /Registry (Adobe) /Ordering(Japan1) /Supplement 4 >> \
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> >> \
393 * Widths of Adobe-Korea1-2
396 * 8094 8190 half-width
399 "AdobeMyungjoStd-Medium-Acro",
401 /Subtype/CIDFontType0 \
402 /CIDSystemInfo << /Registry (Adobe) /Ordering (Korea1) /Supplement 2 >> \
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> >> \
417 /* Addition in Adobe Reader 7 */
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
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
433 "KozMinProVI-Regular",
435 /Subtype/CIDFontType0 \
451 /Ascent 880 /Descent -120 /StemV 86 /CapHeight 742 \
452 /FontBBox [-437 -340 1144 1317] \
453 /ItalicAngle 0 /Flags 6 /XHeight 503 \
455 /Panose <000002020400000000000000> \
460 /* Addition in Adobe Reader 8 */
462 * Font information of AdobeHeitiStd-Regular.otf may not be correct!
463 * Just copied the information of AdobeSongStd-Light.otf.
466 "AdobeHeitiStd-Regular",
468 /Subtype/CIDFontType0 \
469 /CIDSystemInfo << /Registry (Adobe) /Ordering (GB1) /Supplement 4 >> \
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> >> \
489 #endif /* _CID_BASEFONT_H_ */