lib/fontcustom/scripts/generate.py in fontcustom-1.0.0 vs lib/fontcustom/scripts/generate.py in fontcustom-1.0.1

- old
+ new

@@ -73,17 +73,21 @@ if tmpsvgfile: os.unlink(tmpsvgfile.name) # glyph.left_side_bearing = KERNING # glyph.right_side_bearing = KERNING - glyph.width = 512 + #glyph.width = 512 # possible optimization? # glyph.simplify() # glyph.round() + glyph.left_side_bearing = glyph.right_side_bearing = 0 + glyph.round() files.append(name) cp += 1 + + f.autoWidth(0, 0, 512) if args.nohash: fontfile = outdir + '/' + args.name else: hashStr = m.hexdigest()