lib/fontcustom/scripts/generate.py in fontcustom-1.3.2 vs lib/fontcustom/scripts/generate.py in fontcustom-1.3.3
- old
+ new
@@ -91,12 +91,9 @@
font.generate(fontfile + '.ttf')
font.generate(fontfile + '.svg')
manifest['fonts'].append(fontfile + '.ttf')
manifest['fonts'].append(fontfile + '.svg')
- # Hint the TTF file
- subprocess.call('ttfautohint -s -f -n -W ' + fontfile + '.ttf ' + fontfile + '-hinted.ttf > /dev/null 2>&1 && mv ' + fontfile + '-hinted.ttf ' + fontfile + '.ttf', shell=True)
-
# Fix SVG header for webkit
# from: https://github.com/fontello/font-builder/blob/master/bin/fontconvert.py
svgfile = open(fontfile + '.svg', 'r+')
svgtext = svgfile.read()
svgfile.seek(0)