summaryrefslogtreecommitdiff
path: root/misc/pylib/fontbuild
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2017-08-25 04:27:00 +0300
committerRasmus Andersson <rasmus@notion.se>2017-08-25 04:27:00 +0300
commite77a1a132cb8607c4454ea80f91b5062c9cacfda (patch)
tree5b0cd2ad8af80f83a6aa93efe198913d5c65427a /misc/pylib/fontbuild
parent75c7a08620d6811b3d4b8297dba80725094ad768 (diff)
downloadinter-e77a1a132cb8607c4454ea80f91b5062c9cacfda.tar.xz
tnum, zero, ss01, latin1-extended, etc
- Tabular numbers feature - Slashed zero feature - Stylistic set 1 feature (open numbers) - Combination glyphs for the above feature intersections - Improved Latin-1 extended glyph set - Kerning improvements for numbers - Lots of anchor improvements - Fixes "Medium seems to be same as Regular" issue on Windows
Diffstat (limited to 'misc/pylib/fontbuild')
-rw-r--r--misc/pylib/fontbuild/Build.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/misc/pylib/fontbuild/Build.py b/misc/pylib/fontbuild/Build.py
index 5046f9f91..326cb67fd 100644
--- a/misc/pylib/fontbuild/Build.py
+++ b/misc/pylib/fontbuild/Build.py
@@ -88,8 +88,8 @@ class FontProject:
n = names.split("/")
log("---------------------\n%s %s\n----------------------" %(n[0],n[1]))
- log(">> Mixing masters")
if isinstance( mix, Mix):
+ log(">> Mixing masters")
f = mix.generateFont(self.basefont)
else:
f = mix.copy()
@@ -133,15 +133,15 @@ class FontProject:
log(">> Generating glyphs")
generateGlyphs(f, self.diacriticList, self.adobeGlyphList)
- log(">> Copying features")
- readFeatureFile(f, self.basefont.features.text)
+ # log(">> Reading features")
+ # readFeatureFile(f, f.features.text)
log(">> Decomposing")
- for g in f:
- if len(g.components) > 0:
- decomposeGlyph(f, g)
- # for gname in self.decompose:
- # if f.has_key(gname):
- # decomposeGlyph(f, f[gname])
+ # for g in f:
+ # if len(g.components) > 0:
+ # decomposeGlyph(f, g)
+ for gname in self.decompose:
+ if f.has_key(gname):
+ decomposeGlyph(f, f[gname])
copyrightHolderName = ''
if self.config.has_option('main', 'copyrightHolderName'):