File size: 5,198 Bytes
61d733d
 
 
 
 
 
 
 
 
 
 
 
 
a9b34cd
 
 
aaeb3a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9031318
b44dfd8
9031318
 
b44dfd8
3e697a7
 
 
 
 
 
61d733d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Language code specification: https://www.w3.org/International/articles/language-tags/
# Exclusion:
# - EN
# - SC -> TC
# - Regional
# - CJK Regional
# - Glyphs
# - Symbols
# - Numbers
# - Pure Katakana and Hiragana
# - Others
dataset:
  path: ./dataset/fonts
  exclusion:
    - ./Founder Type(方正)/韩文/方正朝文中圆.TTF
    - ./Founder Type(方正)/简繁/ttf/方正宋体S-超大字符集(SIP).TTF
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_503L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 503L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_504L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 504L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 505L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_506L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 506L.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_508R.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 508R.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_509R.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 509R.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_510M.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 510M.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_511M.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 511M.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_512B.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 512B.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_513B.ttf
    - ./Founder Type(方正)/简繁/ttf/方正悠黑_GBK 513B.ttf
    - ./其他/日文/CRC&G半古印 - CRPC&G半古印.TTC
    - ./其他/日文/FGC&G半古印 - FGPC&G半古印.TTC
    - ./其他/日文/FGCCHGW3.TTC
    - ./其他/日文/Jiyukobo(字游工房)/假名/築地体一号太仮名.otf
    - ./其他/日文/Jiyukobo(字游工房)/假名/築地体三十五ポイント仮名.otf
    - ./其他/日文/Jiyukobo(字游工房)/假名/築地体三号太仮名.otf
    - ./其他/日文/TypeBank/假名/RoVenetian-Book.otf
    - ./其他/日文/RICOH(理光)/HGAkaneHeiseiMarugoW8.ttf
    - ./其他/日文/RICOH(理光)/HGHeiseiMinchotaiW9 - HGPHeiseiMinchotaiW9 - HGSHeiseiMinchotaiW9.ttc
    - ./其他/日文/恋文ペン字.TTF
    - ./其他/简体/汉鼎简新艺体.TTF
  specs:
    - path:
        - ./Adobe/CJK
      rule: |
        lambda x: \
          x.split('/')[-1].split('\\')[-1].startswith('SourceHanSans-') \
          or x.split('/')[-1].split('\\')[-1].startswith('SourceHanSerif-')
      language: CJK
    - path:
        - ./Google(谷歌)/CJK
      rule: |
        lambda x: \
          x.split('/')[-1].split('\\')[-1].startswith('NotoSansCJK-') \
          or x.split('/')[-1].split('\\')[-1].startswith('NotoSansMonoCJK-') \
          or x.split('/')[-1].split('\\')[-1].startswith('NotoSerifCJK-')
      language: CJK
    - path:
        - ./Arphic(文鼎)/简体
        - ./DynaFont(华康)/简体
        - ./Fontworks/简体
        - ./Founder Type(方正)/简体
        - ./Hanyi Fonts(汉仪)/简体
        - ./Microsoft(微软)/简体
        - ./Monotype(蒙纳)/简体
        - ./SinoType(华文)/简体
        - ./TensenType(腾祥)/简体
        - ./其他/简体
      language: zh-Hans
    - path:
        - ./Adobe/繁体
        - ./Arphic(文鼎)/繁体
        - ./Fontworks/繁体
        - ./Founder Type(方正)/繁体
        - ./Hanyi Fonts(汉仪)/繁体
        - ./Microsoft(微软)/繁体
        - ./Monotype(蒙纳)/繁体
        - ./SinoType(华文)/繁体
        - ./TensenType(腾祥)/繁体
        - ./其他/繁体
      language: zh-Hant
    - path:
        - ./Adobe/简繁
        - ./Arphic(文鼎)/简繁
        - ./DynaFont(华康)/简繁
        - ./Founder Type(方正)/简繁
        - ./Hanyi Fonts(汉仪)/简繁
        - ./Microsoft(微软)/简繁
        - ./Monotype(蒙纳)/简繁
        - ./Morisawa(森泽)/简繁
        - ./SinoType(华文)/简繁
        - ./TensenType(腾祥)/简繁
        - ./其他/简繁
      language: zh
    - path:
        - ./Adobe/日文
        - ./Arphic(文鼎)/日文
        - ./DynaFont(华康)/日文
        - ./Fontworks/日文
        - ./Monotype(蒙纳)/日文
        - ./Morisawa(森泽)/日文/MorisawaAOTF/日文
        - ./Morisawa(森泽)/日文/MorisawaAPOTF
        - ./Morisawa(森泽)/日文/MorisawaGOTF
        - ./Morisawa(森泽)/日文/MorisawaUOTF
        - ./TensenType(腾祥)/日文
        - ./其他/日文
      language: ja
    - path:
        - ./DynaFont(华康)/繁体/港版
      language: zh-Hant-HK
    - path:
        - ./DynaFont(华康)/繁体/台版
      language: zh-Hant-TW
    - path:
        - ./DynaFont(华康)/韩文
        - ./Fontworks/韩文
        - ./Founder Type(方正)/韩文
        - ./Morisawa(森泽)/韩文
        - ./其他/韩文
      language: ko