[cantarell-fonts] fm.py: Minor formatting change
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts] fm.py: Minor formatting change
- Date: Sun, 18 Feb 2018 17:34:47 +0000 (UTC)
commit b9d4ea1197f844f4044e666ad85ed80de6567132
Author: Nikolaus Waxweiler <madigens gmail com>
Date: Sun Feb 18 17:16:57 2018 +0000
fm.py: Minor formatting change
scripts/fm.py | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/scripts/fm.py b/scripts/fm.py
index f90da97..e56d590 100644
--- a/scripts/fm.py
+++ b/scripts/fm.py
@@ -10,7 +10,6 @@ from pathlib import Path
import argparse
import subprocess
-
parser = argparse.ArgumentParser()
parser.add_argument("fontmake", type=str, help="The path to fontmake.")
parser.add_argument("psautohint", type=str, help="The path to psautohint.")
@@ -21,10 +20,9 @@ args = parser.parse_args()
source = Path(args.font_source).resolve()
output_dir = Path(args.output_dir)
-subprocess.run([
- args.fontmake, "-g", source, "-i", "-o", "otf", "--verbose",
- "WARNING"
-], cwd=output_dir)
+subprocess.run(
+ [args.fontmake, "-g", source, "-i", "-o", "otf", "--verbose", "WARNING"],
+ cwd=output_dir)
for otf in (output_dir / "instance_otf").glob("*.otf"):
subprocess.run([args.psautohint, "-qq", str(otf)])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]