Skip to content

Commit

Permalink
update global font target
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed Sep 3, 2020
1 parent e9f0b38 commit 6f536af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,15 +941,15 @@ def powerset(lst): return reduce(lambda result, x: result +

makefile["rule"]["GlobalFont"]["depend"].append(font)
makefile["rule"][font] = {
"depend": ["build/nowar/{}.otf".format(GenerateFilename(param))],
"depend": ["build/final-otf/{}.otf".format(GenerateFilename(param))],
"command": [
"mkdir -p out/GlobalFont/",
"cp $^ $@",
]
}

# naming test
for w, r, wd, fea in product(config.globalFontWeight, ["CN", "CL"], [3, 5, 7, 10], [[], ["UI", "OSF", "SC", "RP", "Simp"]]):
for w, r, wd, fea in product(config.globalFontWeight, ["CN", "CL"], [3, 5, 7], [[], ["UI", "OSF", "SC", "RP", "Simp"]]):
param = {
"family": "Nowar",
"weight": w,
Expand All @@ -963,7 +963,7 @@ def powerset(lst): return reduce(lambda result, x: result +

makefile["rule"]["NamingTest"]["depend"].append(font)
makefile["rule"][font] = {
"depend": ["build/nowar/{}.otf".format(GenerateFilename(param))],
"depend": ["build/final-otf/{}.otf".format(GenerateFilename(param))],
"command": [
"mkdir -p out/NamingTest/",
"cp $^ $@",
Expand Down

0 comments on commit 6f536af

Please sign in to comment.