Created
May 20, 2014 04:33
-
-
Save jackjennings/a7a4ba280ba4cb1fd5c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
from vanilla.dialogs import getFile | |
lib_path = os.path.expanduser("~/Library/Application Support/RoboFont/plugins/FeaturePreview.roboFontExt/lib") | |
if not lib_path in sys.path: sys.path.append(lib_path) | |
from featurePreview import FeatureTester | |
font_file = getFile(messageText="Select font to test features", fileTypes=["ufo"]) | |
try: | |
font = OpenFont(font_file[0], showUI=False) | |
FeatureTester(font=font) | |
except: pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment