mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/fontmake: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
20
dev-util/fontmake/files/defaults.diff
Normal file
20
dev-util/fontmake/files/defaults.diff
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/Lib/fontmake/__main__.py
|
||||
+++ b/Lib/fontmake/__main__.py
|
||||
@@ -238,7 +238,7 @@ def main(args=None):
|
||||
dest="overlaps_backend",
|
||||
metavar="BACKEND",
|
||||
choices=("booleanOperations", "pathops"),
|
||||
- default="booleanOperations",
|
||||
+ default="pathops",
|
||||
help="Select library to remove overlaps. Choose between: %(choices)s "
|
||||
"(default: %(default)s)",
|
||||
)
|
||||
@@ -291,7 +291,7 @@ def main(args=None):
|
||||
)
|
||||
contourGroup.add_argument(
|
||||
"--subroutinizer",
|
||||
- default=None,
|
||||
+ default="cffsubr",
|
||||
choices=["compreffor", "cffsubr"],
|
||||
help="name of the library to use for compressing CFF charstrings. "
|
||||
"Choose between: %(choices)s. By default compreffor is used for CFF 1, "
|
||||
12
dev-util/fontmake/files/instance_dir.diff
Normal file
12
dev-util/fontmake/files/instance_dir.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/Lib/fontmake/font_project.py
|
||||
+++ b/Lib/fontmake/font_project.py
|
||||
@@ -149,8 +149,7 @@ class FontProject:
|
||||
os.mkdir(master_dir)
|
||||
if instance_dir is None:
|
||||
instance_dir = self._output_dir("ufo", is_instance=True)
|
||||
+ instance_dir = os.path.join("..",instance_dir)
|
||||
- if not os.path.isdir(instance_dir):
|
||||
- os.mkdir(instance_dir)
|
||||
|
||||
try:
|
||||
font = glyphsLib.GSFont(glyphs_path)
|
||||
Reference in New Issue
Block a user