summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlgs/lib/mkcidfm.ps
blob: 7dd92fe39e3d37c40f16274b21297880944e9b4d (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
% Copyright (C) 2001-2020 Artifex Software, Inc.
% All Rights Reserved.
%
% This software is provided AS-IS with no warranty, either express or
% implied.
%
% This software is distributed under license and may not be copied,
% modified or distributed except as expressly authorized under the terms
% of the license contained in the file LICENSE in this distribution.
%
% Refer to licensing information at http://www.artifex.com or contact
% Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
% CA 94945, U.S.A., +1(415)492-9861, for further information.
%


% Generate a cidfmap file for substituting CID fonts with TrueType
% fonts, based on fonts found in the directory FONTDIR.
%
% The directory FONTDIR is searched for fonts whose filename
% matches a Path in the cidsubs dictionary.
% Any matches are written out as a CID font substitution.
%
% For each fontname and alias in the fontaliases dictionary,
% write out each alias that matches a substituted font.
% Where multiple aliases are possible, use the first match.
%
% Note that the substitutions and aliases in this file were created
% by someone who doesn't understand Chinese, Japanese or Korean.
% The initial list contains only font files found in Windows XP.
% Please submit corrections and additions.
%
% See the end of file for references and further information.
%
% Font filenames must match case.
% All font filenames are currently lower case.
%
% Usage: gswin32c -q -dBATCH -sFONTDIR=c:/windows/fonts
%                -sCIDFMAP=c:/gs/cidfmap mkcidfm.ps

systemdict /FONTDIR known not { /FONTDIR (c:/windows/fonts) def } if

systemdict /CIDFMAP known { CIDFMAP } { (%stdout) } ifelse
/cidfmap exch (w) file def

% Directory separator as used by filenameforall
/dirsep (/) def

% This dictionary contains a list of font substitutions.
% The first matching substitution in the array will be used.
/fontaliases
<<
  % otf's /AdobeMingStd-Light /AdobeHeitiStd-Regular /AdobeSongStd-Light
  % /KozMinPr6N-Regular /AdobeMyungjoStd-Medium came with Acroread 9 unix CJK pack.

  % ArialUnicode and a common font are used as a last-resort catch-all
  % in most cases.

  % Traditional Chinese
  % Mingliu and Kaiu are known to use patented TT instructions
  /MSung-Light [ /MingLiU /ArialUnicodeMS-CNS ]
  /MSung-Medium [ /MingLiU /ArialUnicodeMS-CNS ]
  /MHei-Medium [ /MicrosoftJhengHeiRegular /ArialUnicodeMS-CNS /MingLiU ]
  /MKai-Medium [ /DFKaiShu-SB-Estd-BF /Arial-Unicode-MS /MingLiU /ArialUnicodeMS-CNS ]
  /AdobeMingStd-Light [ /MingLiU /ArialUnicodeMS-CNS ]

  % Simplified Chinese
  /STSong-Light [ /SimSun /SimSun-18030 /ArialUnicodeMS-GB ]
  /STFangsong-Light [ /FangSong /SimSun /ArialUnicodeMS-GB ]
  /STHeiti-Regular [ /MicrosoftYaHei /SimHei /ArialUnicodeMS-GB ]
  /STKaiti-Regular [ /KaiTi /SimHei /ArialUnicodeMS-GB ]
  /AdobeHeitiStd-Regular [ /MicrosoftYaHei /SimHei /ArialUnicodeMS-GB ]
  /AdobeSongStd-Light [ /SimSun /ArialUnicodeMS-GB ]

  % Japanese
  /Ryumin-Light [ /MS-Mincho04 /MS-Mincho /ArialUnicodeMS-JP ]
  /Ryumin-Medium [ /MS-Mincho04 /MS-Mincho /ArialUnicodeMS-JP ]
  /GothicBBB-Medium [ /MS-Gothic04 /MS-Gothic /Meiryo /ArialUnicodeMS-JP ]
  /HeiseiMin-W3 [ /MS-Mincho04 /MS-Mincho /ArialUnicodeMS-JP ]
  /HeiseiKakuGo-W5 [ /MS-Gothic04 /MS-Gothic /Meiryo /ArialUnicodeMS-JP ]
  /KozMinPr6N-Regular [ /MS-Mincho04 /MS-Mincho /ArialUnicodeMS-JP ]

  % Korean
  % Malgun seems to have a full set of Hangu but not much of Kanji glyphs
  % "Gulim Old Hangul Jamo" has Hangu but no Kanji, and PMmy has Kanji but
  % no Hangu. Neither are useful for Korean users.
  /HYSMyeongJo-Medium [ /Batang /NewBatang /GulimChe /ArialUnicodeMS-KR /MalgunGothicRegular ]
  /HYRGoThic-Medium [ /Gulim /NewGulim /GulimChe /ArialUnicodeMS-KR /MalgunGothicRegular ]
  /HYGoThic-Medium [ /Dotum /NewGulim /GulimChe /ArialUnicodeMS-KR /MalgunGothicRegular ]
  /AdobeMyungjoStd-Medium [ /Batang /NewBatang /GulimChe /ArialUnicodeMS-KR /MalgunGothicRegular ]
>>
def

% This dictionary contains a list of CID substitutions
%  Many ttc's have an older ttf version - be sure to put the ttf entries later.
/cidsubs
<<
  % Simplified Chinese
  /SimHei
  <<
   /FileType /TrueType
   /Path (simhei.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /SimSun
  <<
   /FileType /TrueType
   /Path (simsun.ttc)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /NSimSun
  <<
   /FileType /TrueType
   /Path (simsun.ttc)
   /SubfontID 1
   /CSI [(GB1) 2]
  >>

  /SimSun-oldttf
  <<
   /FileType /TrueType
   /Path (simsun.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /KaiTi
  <<
   /FileType /TrueType
   /Path (simkai.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /LiSu
  <<
   /FileType /TrueType
   /Path (simli.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /SimSun-18030
  <<
   /FileType /TrueType
   /Path (simsun18030.ttc)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /NSimSun-18030
  <<
   /FileType /TrueType
   /Path (simsun18030.ttc)
   /SubfontID 1
   /CSI [(GB1) 2]
  >>

  /YouYuan
  <<
   /FileType /TrueType
   /Path (simyou.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /FangSong
  <<
   /FileType /TrueType
   /Path (simfang.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /MicrosoftYaHei
  <<
   /FileType /TrueType
   /Path (msyh.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /MicrosoftYaHeiBold
  <<
   /FileType /TrueType
   /Path (msyhbd.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /MS-Song
  <<
   /FileType /TrueType
   /Path (mssong.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /MS-Hei
  <<
   /FileType /TrueType
   /Path (mshei.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  /ArialUnicodeMS-GB
  <<
   /FileType /TrueType
   /Path (arialuni.ttf)
   /SubfontID 0
   /CSI [(GB1) 2]
  >>

  % Traditional Chinese
  /MingLiU
  <<
   /FileType /TrueType
   /Path (mingliu.ttc)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /PMingLiU
  <<
   /FileType /TrueType
   /Path (mingliu.ttc)
   /SubfontID 1
   /CSI [(CNS1) 2]
  >>

  % It probably should be ttf (ttc a typo), but we'll keep this entry just in case.
  /Arial-Unicode-MS
  <<
   /FileType /TrueType
   /Path (arialuni.ttc)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /MicrosoftJhengHeiRegular
  <<
   /FileType /TrueType
   /Path (msjh.ttf)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /MicrosoftJhengHeiBold
  <<
   /FileType /TrueType
   /Path (msjhbd.ttf)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /MingLiU-oldttf
  <<
   /FileType /TrueType
   /Path (mingliu.ttf)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /DFKaiShu-SB-Estd-BF
  <<
   /FileType /TrueType
   /Path (kaiu.ttf)
   /SubfontID 0
   /CSI [(CNS1) 2]
  >>

  /ArialUnicodeMS-CNS
  <<
    /FileType /TrueType
    /Path (arialuni.ttf)
    /SubfontID 0
    /CSI [(CNS1) 2]
  >>

  % Japanese
  /MS-Gothic
  <<
   /FileType /TrueType
   /Path (msgothic.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /MS-PGothic
  <<
   /FileType /TrueType
   /Path (msgothic.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  /MS-UI-Gothic
  <<
   /FileType /TrueType
   /Path (msgothic.ttc)
   /SubfontID 2
   /CSI [(Japan1) 3]
  >>

  /MS-Mincho
  <<
   /FileType /TrueType
   /Path (msmincho.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /MS-PMincho
  <<
   /FileType /TrueType
   /Path (msmincho.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  % An XP update ships the Vista (JIS2004) version of msgothic.ttc/msmincho.ttc renamed
  /MS-Gothic04
  <<
   /FileType /TrueType
   /Path (msgoth04.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /MS-PGothic04
  <<
   /FileType /TrueType
   /Path (msgoth04.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  /MS-UI-Gothic04
  <<
   /FileType /TrueType
   /Path (msgoth04.ttc)
   /SubfontID 2
   /CSI [(Japan1) 3]
  >>

  /MS-Mincho04
  <<
   /FileType /TrueType
   /Path (msmin04.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /MS-PMincho04
  <<
   /FileType /TrueType
   /Path (msmin04.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  /MS-Mincho-oldttf
  <<
   /FileType /TrueType
   /Path (msmincho.ttf)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /MS-Gothic-oldttf
  <<
   /FileType /TrueType
   /Path (msgothic.ttf)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  % Newer meiryo.ttc and meiryob.ttc have subfont 2,3. Leave those out for the time being
  /Meiryo
  <<
   /FileType /TrueType
   /Path (meiryo.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /Meiryo-Italic
  <<
   /FileType /TrueType
   /Path (meiryo.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  /Meiryo-Bold
  <<
   /FileType /TrueType
   /Path (meiryob.ttc)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  /Meiryo-BoldItalic
  <<
   /FileType /TrueType
   /Path (meiryob.ttc)
   /SubfontID 1
   /CSI [(Japan1) 3]
  >>

  /ArialUnicodeMS-JP
  <<
   /FileType /TrueType
   /Path (arialuni.ttf)
   /SubfontID 0
   /CSI [(Japan1) 3]
  >>

  % Korean
  /Batang
  <<
   /FileType /TrueType
   /Path (batang.ttc)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /BatangChe
  <<
   /FileType /TrueType
   /Path (batang.ttc)
   /SubfontID 1
   /CSI [(Korea1) 3]
  >>

  /Gungsuh
  <<
   /FileType /TrueType
   /Path (batang.ttc)
   /SubfontID 2
   /CSI [(Korea1) 3]
  >>

  /GungsuhChe
  <<
   /FileType /TrueType
   /Path (batang.ttc)
   /SubfontID 3
   /CSI [(Korea1) 3]
  >>

  /Gulim
  <<
   /FileType /TrueType
   /Path (gulim.ttc)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /GulimChe
  <<
   /FileType /TrueType
   /Path (gulim.ttc)
   /SubfontID 1
   /CSI [(Korea1) 3]
  >>

  /Dotum
  <<
   /FileType /TrueType
   /Path (gulim.ttc)
   /SubfontID 2
   /CSI [(Korea1) 3]
  >>

  /DotumChe
  <<
   /FileType /TrueType
   /Path (gulim.ttc)
   /SubfontID 3
   /CSI [(Korea1) 3]
  >>

  /MalgunGothicRegular
  <<
   /FileType /TrueType
   /Path (malgun.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /MalgunGothicBold
  <<
   /FileType /TrueType
   /Path (malgunbd.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /NewBatang
  <<
   /FileType /TrueType
   /Path (nbatang.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /NewGulim
  <<
   /FileType /TrueType
   /Path (ngulim.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /GulimChe-oldttf
  <<
   /FileType /TrueType
   /Path (gulimche.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>

  /ArialUnicodeMS-KR
  <<
   /FileType /TrueType
   /Path (arialuni.ttf)
   /SubfontID 0
   /CSI [(Korea1) 3]
  >>
>>
def

% A dictionary for storing the names and paths of found fonts
/foundfonts 50 dict def

% Get the basename of a path
% For example, (c:/windows/fonts/msmincho.ps) --> (msmincho.ps)
/basename { % path -- subpath
  { dirsep search
    {pop pop}
    {exit}
    ifelse
  } loop
} def

% Convert string (font file name) to lowercase, take care not to touch
% non-upper case letters. There are a few similiar routines elsewhere
% for reference:
%   /.ToLower in lib/pdf2dsc.ps
%   /toupper in lib/printafm.ps
%   /.lowerstring in Resource/Init/gs_fonts.ps
/lowercase {
  dup length 1 sub  -1 0 {
      1 index exch 2 copy
      get
      dup dup 65 ge exch 90 le and {
          2#00100000 or
          } if
      put
      } for
} def

% Check if a font basename matches one of the possible cid substitutions.
% If it does, add the font and full path to the foundfonts dictionary
/checkfont {
  dup basename
  lowercase
  cidsubs
  {
    /Path get
    2 index eq  % Match case only
    {
      foundfonts exch
      3 index dup length string copy put
    }
    {
      pop
    }
    ifelse
  }
  forall
  pop pop
} def

% Add all matching fonts to foundfonts dictionary
/findfonts { % path --
  dup length 2 add string dup 3 1 roll copy pop
  dup dup length 2 sub dirsep 0 get put
  dup dup length 1 sub (*) 0 get put
  /checkfont load 256 string filenameforall
} def

% Write out a cid substition, using the full font path
% name is the font name, e.g. /MS-Mincho
% path is the full path to the font file, e.g. (c:\windows\fonts\msmincho.ttc)
% subs is the dictionary for CID font substition, from cidsubs
/emitsubs { % name path subs --
  3 -1 roll cidfmap exch write==only % name
  cidfmap ( << ) writestring
  % path subs
  {
   1 index /Path eq {pop 1 index} if % use full path, not basename
   exch cidfmap exch write==only cidfmap ( ) writestring
   cidfmap exch write==only cidfmap ( ) writestring
  } forall
  cidfmap (>> ;\n) writestring
  pop
} def

% Write out all known cid substitutions.
/writesubs { % ---
  cidfmap (% Substitutions\n) writestring
  foundfonts
  {
    1 index cidsubs exch known
    {
      1 index cidsubs exch get % name path subs
      emitsubs
    }
    {
      pop pop
    }
    ifelse
  }
  forall
} def

% Write out aliases for which the cid substituted font exists.
/writealiases { % --
  cidfmap (\n% Aliases\n) writestring
  fontaliases
  {
    % name aliasarray
    {
      % name alias
      foundfonts 1 index known
      {
        1 index cidfmap exch write==only cidfmap ( ) writestring
        cidfmap exch write==only cidfmap ( ;\n) writestring
        exit % after first match
      }
      {
        pop % didn't find this name
      }
      ifelse
    } forall
    % name
    pop
  }
  forall
} def

% Write out a new cidfmap file to stdout
/writecidfmap { % path --
  cidfmap (%!\n% cidfmap generated automatically by mkcidfm.ps from fonts found in\n) writestring
  cidfmap (%   ) writestring
  dup cidfmap exch writestring cidfmap (\n\n) writestring
  findfonts
  writesubs
  writealiases
} def

FONTDIR writecidfmap

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% For what fonts ship with which microsoft product, see:
% http://www.microsoft.com/typography/Fonts/product.aspx
%
% A reasonably clean Vista box comes with:
%  ARIALUNI.TTF  meiryob.ttc   msjh.ttf      simhei.ttf
%  batang.ttc    meiryo.ttc    msmincho.ttc  simkai.ttf
%  gulim.ttc     mingliub.ttc  MSMINCHO.TTF  simsunb.ttf
%  kaiu.ttf      mingliu.ttc   msyhbd.ttf    simsun.ttc
%  malgunbd.ttf  msgothic.ttc  msyh.ttf
%  malgun.ttf    msjhbd.ttf    simfang.ttf
%
% Here is a non-exhaustive list of CJK fonts found on various MS systems for reference:
% File            Size         Version    Glyphs     Charmaps          Postscript Name                          Codepage
% ======================================================================================================================
% arialuni.ttf    24172892     0.86       51180      (1,0)(3,1)        ArialUnicodeMS
% arialuni.ttf    23275812     1.01       50377      (3,1)             ArialUnicodeMS                           932,936,949,950
% batang.ttc      16258580     2.21       39680      (3,1)             Batang/BatangChe/Gungsuh/GungsuhChe
% batang.ttc      16265128     2.21       39680      (3,1)             Batang/BatangChe/Gungsuh/GungsuhChe
% batang.ttc      16264732     5.00       39680      (3,1)             Batang/BatangChe/Gungsuh/GungsuhChe      949
% gulimche.ttf    5512432      1.00       20792      (3,1)             GulimChe
% gulim.ttc       13518660     2.21       40194      (3,1)             Gulim/GulimChe/Dotum/DotumChe
% gulim.ttc       13525204     2.21       40194      (3,1)             Gulim/GulimChe/Dotum/DotumChe
% gulim.ttc       13524720     5.00       40194      (3,1)             Gulim/GulimChe/Dotum/DotumChe            949
% kaiu.ttf        4282984      2.00       18193      (1,0)(3,1)        DFKaiShu-SB-Estd-BF
% kaiu.ttf        4279576      2.10       18193      (1,0)(3,1)        DFKaiShu-SB-Estd-BF
% kaiu.ttf        5172084      3.00       22134      (1,0)(3,1)        DFKaiShu-SB-Estd-BF
% kaiu.ttf        5178844      5.00       22134      (1,0)(3,1)        DFKaiShu-SB-Estd-BF                      950
% malgun.ttf      4337480      0.85       12747      (0,3)(3,1)        MalgunGothicRegular
% malgun.ttf      4337080      1.00       12747      (0,3)(3,1)        MalgunGothicRegular
% malgun.ttf      4337104      5.00       12747      (0,3)(3,1)        MalgunGothicRegular
% malgun.ttf      4337296      6.11       12747      (0,3)(3,1)        MalgunGothicRegular                      949
% malgunbd.ttf    4514980      0.85       12740      (0,3)(3,1)        MalgunGothicBold
% malgunbd.ttf    4513504      1.00       12740      (0,3)(3,1)        MalgunGothicBold
% malgunbd.ttf    4513520      5.00       12740      (0,3)(3,1)        MalgunGothicBold
% malgunbd.ttf    4515044      6.00       12740      (0,3)(3,1)        MalgunGothicBold
% meiryo.ttc      7682568      0.97       20682      (0,3)(3,1)(3,10)  Meiryo/Meiryo-Italic                     932
% meiryo.ttc      7815292      5.00       20684      (0,3)(3,1)(3,10)  Meiryo/Meiryo-Italic
% meiryo.ttc      9533888      6.02       23942      (0,3)(3,1)(3,10)  Meiryo/Meiryo-Italic/MeiryoUI/MeiryoUI-Italic
% meiryob.ttc     7924644      0.97       20682      (0,3)(3,1)(3,10)  Meiryo-Bold/Meiryo-BoldItalic
% meiryob.ttc     8054096      5.00       20684      (0,3)(3,1)(3,10)  Meiryo-Bold/Meiryo-BoldItalic
% meiryob.ttc     9749256      6.02       23942      (0,3)(3,1)(3,10)  Meiryo-Bold/Meiryo-BoldItalic/MeiryoUI-Bold/MeiryoUI-BoldItalic
% mingliu.ttf     6272080      2.00       18362      (1,0)(3,1)        MingLiU
% mingliu.ttc     8823308      3.21       22753      (1,0)(3,1)        MingLiU/PMingLiU
% mingliu.ttc     8829856      3.21       22753      (1,0)(3,1)        MingLiU/PMingLiU
% mingliu.ttc     27496184     6.02       33987      (3,1)             MingLiU/PMingLiU/Ming-Lt-HKSCS-UNI-H
% mingliu.ttc     32217124     7.00       34046      (3,1)             MingLiU/PMingLiU/Ming-Lt-HKSCS-UNI-H     950
% mingliub.ttc    33791880     5.00       44857      (3,1)(3,10)       MingLiU-ExtB/PMingLiU-ExtB/Ming-Lt-HKSCS-ExtB
% mingliub.ttc    33805700     7.00       44875      (3,1)(3,10)       MingLiU-ExtB/PMingLiU-ExtB/Ming-Lt-HKSCS-ExtB
% msgothic.ttf    4170144      2.00       13104      (1,0)(3,1)        MS-Gothic
% msgothic.ttc    8272028      2.30       20458      (1,0)(3,1)        MS-Gothic/MS-PGothic/MS-UIGothic
% msgothic.ttc    8278584      2.30       20458      (1,0)(3,1)        MS-Gothic/MS-PGothic/MS-UIGothic
% msgothic.ttc    9165480      5.00       22213      (3,1)(3,10)       MS-Gothic/MS-PGothic/MS-UIGothic
% msgothic.ttc    9176636      5.01       22213      (3,1)(3,10)       MS-Gothic/MS-PGothic/MS-UIGothic         932
% mshei.ttf       1902464      1.00       26272      (1,0)(3,1)        MS Hei
% mshei.ttf       1902556      1.00       26272      (1,0)(3,1)        MS Hei
% msjh.ttf        14698792     0.71       28969      (0,3)(3,1)        MicrosoftJhengHeiRegular                 950
% msjh.ttf        14713712     0.75       28969      (0,3)(3,1)        MicrosoftJhengHeiRegular
% msjh.ttf        14713760     5.00       28969      (0,3)(3,1)        MicrosoftJhengHeiRegular
% msjh.ttf        21663376     6.02       29220      (0,3)(3,1)        MicrosoftJhengHeiRegular
% msjhbd.ttf      14498048     0.71       28961      (0,3)(3.1)        MicrosoftJhengHeiBold
% msjhbd.ttf      14509708     0.75       28961      (0,3)(3.1)        MicrosoftJhengHeiBold
% msjhbd.ttf      14509756     5.00       28961      (0,3)(3.1)        MicrosoftJhengHeiBold
% msmincho.ttf    5151192      2.00       13104      (1,0)(3,1)        MS-Mincho
% msmincho.ttc    9136456      2.30       17807      (1,0)(3,1)        MS-Mincho/MS-PMincho
% msmincho.ttc    9135960      2.31       17807      (1,0)(3,1)        MS-Mincho/MS-PMincho
% msmincho.ttc    9142516      2.31       17807      (1,0)(3,1)        MS-Mincho/MS-PMincho
% msmincho.ttc    10056872     5.00       19321      (3,1)(3,10)       MS-Mincho/MS-PMincho
% msmincho.ttc    10057108     5.01       19321      (3,1)(3,10)       MS-Mincho/MS-PMincho                     932
% mssong.ttf      2569040      1.00       26304      (1,0)(3,1)        MS Song
% mssong.ttf      2569116      1.00       26304      (1,0)(3,1)        MS Song
% msyh.ttf        12263452     6.01       22562      (0,3)(3,1)(3,10)  MSYH
% msyh.ttf        15067744     0.71       29207      (0,3)(3,1)(3,10)  MicrosoftYaHei
% msyh.ttf        15043584     0.75       29126      (0,3)(3,1)(3,10)  MicrosoftYaHei
% msyh.ttf        15044440     5.00       29126      (0,3)(3,1)(3,10)  MicrosoftYaHei
% msyh.ttf        21767952     6.02       29354      (0,3)(3,1)        MicrosoftYaHei                           936
% msyhbd.ttf      14707012     0.71       29240      (0,3)(3,1)(3,10)  MicrosoftYaHei
% msyhbd.ttf      14685876     5.00       29126      (0,3)(3,1)(3,10)  MicrosoftYaHei
% nbatang.ttf     32472240     3.00       49636      (3,1)             New Batang
% ngulim.ttf      8862844      2.00       23181      (3,1)             New Gulim
% ngulim.ttf      25719724     3.10       49284      (3,1)             New Gulim
% ogulim.ttf      830340       1.00       2921       (3,1)             Gulim Old Hangul Jamo
% palmm.ttf       13816928     001.003    27560      (3,1)             PMmy
% simfang.ttf     3996872      2.00       7580       (1,0)(3,1)        FangSong_GB2312
% simfang.ttf     10576012     5.01       28562      (3,1)             FangSong                                 936
% simhei.ttf      10044356     3.02       22021      (1,0)(3,1)        SimHei
% simhei.ttf      10050868     3.02       22021      (1,0)(3,1)        SimHei
% simhei.ttf      9751960      5.01       28562      (3,1)             SimHei                                   936
% simkai.ttf      4135804      2.00       7580       (1,0)(3,1)        KaiTi_GB2312
% simkai.ttf      11785184     5.01       28562      (3,1)             KaiTi                                    936
% simli.ttf       9317908      3.00       21992      (1,0)(3,1)        LiSu
% simsun.ttc      10500792     3.03       22141      (1,0)(3,1)        SimSun/NSimSun
% simsun.ttc      10507340     3.03       22141      (1,0)(3,1)        SimSun/NSimSun
% simsun.ttc      13747080     5.00       28762      (1,0)(3,1)        SimSun/NSimSun
% simsun.ttc      15323200     5.03       28762      (1,0)(3,1)        SimSun/NSimSun                           936
% simsun18030.ttc 12642204     2.06       30533      (1,0)(3,1)        SimSun-18030/NSimSun-18030
% simsunb.ttf     15406216     0.90       42809      (1,0)(3,1)(3,10)  SimSun-ExtB
% simsunb.ttf     15406288     5.00       42809      (1,0)(3,1)(3,10)  SimSun-ExtB
% simyou.ttf      6794984      3.00       21991      (1,0)(3,1)        YouYuan
% simyou.ttf      6788204      3.00       21991      (1,0)(3,1)        YouYuan