Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed Mar 9, 2020
1 parent 994880a commit b508b28
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ Makefile
__pycache__/
/source/shs/*.otf
/build/
/cache/
/out/
node_modules/
48 changes: 24 additions & 24 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,36 +158,36 @@ def LocalizedFamily(p):
if "nameList" not in LocalizedFamily.__dict__:
LocalizedFamily.nameList = {
"Sans": {
0x0409: "Nowar C² ",
0x0804: "有爱锐方 ",
0x0404: "有愛銳方 ",
0x0C04: "有愛鋭方 ",
0x0411: "有愛鋭方 ",
0x0412: "有愛예방 ",
0x0409: "Nowar C²",
0x0804: "有爱锐方",
0x0404: "有愛銳方",
0x0C04: "有愛鋭方",
0x0411: "有愛鋭方",
0x0412: "有愛예방",
},
"UI": {
0x0409: "Nowar C² UI ",
0x0804: "有爱锐方 UI ",
0x0404: "有愛銳方 UI ",
0x0C04: "有愛鋭方 UI ",
0x0411: "有愛鋭方 UI ",
0x0412: "有愛예방 UI ",
0x0409: "Nowar C² UI",
0x0804: "有爱锐方 UI",
0x0404: "有愛銳方 UI",
0x0C04: "有愛鋭方 UI",
0x0411: "有愛鋭方 UI",
0x0412: "有愛예방 UI",
},
"WarcraftSans": {
0x0409: "Nowar C² Warcraft ",
0x0804: "有爱魔兽锐方 ",
0x0404: "有愛魔獸銳方 ",
0x0C04: "有愛魔獸鋭方 ",
0x0411: "有愛鋭方ウォークラフト ",
0x0412: "有愛예방 워크래프트 ",
0x0409: "Nowar C² Warcraft",
0x0804: "有爱魔兽锐方",
0x0404: "有愛魔獸銳方",
0x0C04: "有愛魔獸鋭方",
0x0411: "有愛鋭方ウォークラフト",
0x0412: "有愛예방 워크래프트",
},
"WarcraftUI": {
0x0409: "Nowar C² Warcraft UI ",
0x0804: "有爱魔兽锐方 UI ",
0x0404: "有愛魔獸銳方 UI ",
0x0C04: "有愛魔獸黑體 UI ",
0x0411: "有愛鋭方ウォークラフト UI ",
0x0412: "有愛예방 워크래프트 UI ",
0x0409: "Nowar C² Warcraft UI",
0x0804: "有爱魔兽锐方 UI",
0x0404: "有愛魔獸銳方 UI",
0x0C04: "有愛魔獸黑體 UI",
0x0411: "有愛鋭方ウォークラフト UI",
0x0412: "有愛예방 워크래프트 UI",
},
}

Expand Down
2 changes: 1 addition & 1 deletion merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def NameFont(param, font):
"encodingID": 1,
"languageID": langId,
"nameID": 16,
"nameString": family[langId]
"nameString": family[langId] + "; keep hinted, like DFKaiShu" if langId == 0x0409 else family[langId]
},
] for langId in langIdList],
[]
Expand Down

0 comments on commit b508b28

Please sign in to comment.