Skip to content

Commit

Permalink
Bumped up fontbakery version to current release, adjusted integration…
Browse files Browse the repository at this point in the history
… (it is already more verbose by default on the output)
  • Loading branch information
n7s committed Aug 20, 2024
1 parent 6b17b45 commit 788b3d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/smith-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ diffenator2
#fontaine @ git+https://github.com/googlefonts/pyfontaine
fontaine
#fontbakery @ git+https://github.com/fonttools/fontbakery
fontbakery==0.12.0
fontbakery==0.12.10
fontmake @ git+https://github.com/googlei18n/fontmake
fontMath @ git+https://github.com/robotools/fontMath
fontParts @ git+https://github.com/robotools/fontParts
Expand Down
2 changes: 1 addition & 1 deletion docker/smith-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
compreffor
diffenator2
fontaine
fontbakery
fontbakery [all,googlefonts]
fontmake
gftools
MutatorMath
Expand Down
12 changes: 6 additions & 6 deletions src/smithlib/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,13 +997,13 @@ def execute(self) :
familynames = files.split("-")
fullfamilynames = familynames[0]
if os.path.exists(toppath + "/fontbakery.yaml"):
print("Using local fontbakery.yaml file as well as pysilfont profile...")
Utils.subprocess.Popen("fontbakery check-profile silfont.fbtests.profile " + outputpath + "/" + fullfamilynames + "-*.ttf" + " --config " + toppath + "/fontbakery.yaml" + " --html " + outputpath + "/fontbakery-report-" + fullfamilynames + ".html" + " -F --succinct -S -C", shell = 1).wait()
Utils.subprocess.Popen("echo ' ' ", shell = 1).wait()
print("Running Font Bakery using the local fontbakery.yaml file as well as the pysilfont profile for " + fullfamilynames + "...")
Utils.subprocess.Popen("fontbakery check-profile silfont.fbtests.profile " + outputpath + "/" + fullfamilynames + "-*.ttf" + " --config " + toppath + "/fontbakery.yaml" + " --html " + outputpath + "/fontbakery-report-" + fullfamilynames + ".html" + " -q --skip-network -S -F -C -j -l PASS -m PASS", shell = 1).wait()
print("Done, see the generated HTML report for all the details.")
else:
print("Using pysilfont profile...")
Utils.subprocess.Popen("fontbakery check-profile silfont.fbtests.profile " + outputpath + "/" + fullfamilynames + "-*.ttf" + " --html " + outputpath + "/fontbakery-report-" + fullfamilynames + ".html" + " -F --succinct -S -C", shell = 1).wait()
Utils.subprocess.Popen("echo ' ' ", shell = 1).wait()
print("Running Font Bakery using the pysilfont profile for " + fullfamilynames + "...")
Utils.subprocess.Popen("fontbakery check-profile silfont.fbtests.profile " + outputpath + "/" + fullfamilynames + "-*.ttf" + " --html " + outputpath + "/fontbakery-report-" + fullfamilynames + ".html" + " -q --skip-network -S -F -C -j -l PASS -m PASS", shell = 1).wait()
print("Done, see the generated HTML report for all the details.")

class differContext(Context.Context) :
"""Run diffenator2 for regression testing."""
Expand Down

0 comments on commit 788b3d5

Please sign in to comment.