Skip to content

Commit

Permalink
Merge pull request #6 from aaronbell/main
Browse files Browse the repository at this point in the history
Fixing Japanese Full Name in font
  • Loading branch information
aaronbell authored Mar 28, 2022
2 parents 56589a5 + 1027cd2 commit b81754d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 53 deletions.
Binary file modified fonts/ttf/BIZUDMincho-Regular.ttf
Binary file not shown.
Binary file modified fonts/ttf/BIZUDPMincho-Regular.ttf
Binary file not shown.
4 changes: 2 additions & 2 deletions sources/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
TEMP = Path('temp')
EXPORT = Path('fonts/ttf')
SRC_IMPORT = Path("sources/extensions")
VERSION = "1.001"
VERSION = "1.002"

for font in IMPORT.glob("*.ttf"):

Expand Down Expand Up @@ -87,7 +87,7 @@
sourceTTF["name"].setName(name,1,3,1,platformID)
sourceTTF["name"].setName("Version "+VERSION,5,3,1,platformID)

sourceTTF["name"].setName(sourceTTF["name"].getDebugName(4).replace(" Medium",""),4,3,1,platformID)
sourceTTF["name"].setName(str(sourceTTF["name"].getName(4,3,1,platformID)).replace(" Medium",""),4,3,1,platformID)

if "Bold" in fontName: #aligning psnames with google standards. Shouldn't impact compatibility.
sourceTTF["name"].setName(str(sourceTTF["name"].getName(1,3,1,1033)).replace("BIZ ","BIZ")+"-Bold",6,3,1,platformID)
Expand Down
51 changes: 0 additions & 51 deletions udpmincho.upstream.yaml

This file was deleted.

0 comments on commit b81754d

Please sign in to comment.