1
1
mirror of https://github.com/rsms/inter.git synced 2024-09-17 13:47:11 +03:00

tooling: update kernsample.py to use defcon

This commit is contained in:
Rasmus Andersson 2019-08-03 16:22:36 -07:00
parent d7792d392a
commit 08a06dcaab

View File

@ -4,7 +4,7 @@ from __future__ import print_function
import os, sys, plistlib
from collections import OrderedDict
from argparse import ArgumentParser
from robofab.objects.objectsRF import OpenFont
from defcon import Font
RIGHT = 1
LEFT = 2
@ -201,7 +201,7 @@ def main():
args = argparser.parse_args()
font = OpenFont(args.fontPath)
font = Font(args.fontPath)
groupsFilename = os.path.join(args.fontPath, 'groups.plist')
kerningFilename = os.path.join(args.fontPath, 'kerning.plist')