tooling: change comment and remove unused code of misc/tools/fix-vf-meta.py
This commit is contained in:
parent
0be7f763a9
commit
456025b11d
1 changed files with 2 additions and 12 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
#
|
||||
# from gftools
|
||||
# https://github.com/googlefonts/gftools/blob/master/LICENSE
|
||||
# https://github.com/googlefonts/gftools/blob/
|
||||
# deebf9eb018856ffc7f0d939aea18606dc432c5a/bin/gftools-fix-vf-meta.py
|
||||
#
|
||||
"""
|
||||
Fontmake can only generate a single variable font. It cannot generate a
|
||||
|
|
@ -277,17 +278,6 @@ def harmonize_vf_families(ttfonts):
|
|||
set_stat_for_font_in_family(ttfont, family_styles)
|
||||
|
||||
|
||||
# def fixupFonts(font_paths):
|
||||
# ttfonts = [TTFont(p) for p in font_paths]
|
||||
# ttfonts = [f for f in ttfonts if len(f['fvar'].axes) == 1]
|
||||
# for f in ttfonts:
|
||||
# fix_bits(f)
|
||||
# create_stat_table(f)
|
||||
# harmonize_vf_families(ttfonts)
|
||||
# for path, f in zip(font_paths, ttfonts):
|
||||
# f.save(path)
|
||||
|
||||
|
||||
def main():
|
||||
parser = ArgumentParser()
|
||||
parser.add_argument('fonts', nargs='+',
|
||||
|
|
|
|||
Reference in a new issue