Skip to content

Instantly share code, notes, and snippets.

@jackjennings
Created May 20, 2014 04:33
Show Gist options
  • Save jackjennings/a7a4ba280ba4cb1fd5c2 to your computer and use it in GitHub Desktop.
Save jackjennings/a7a4ba280ba4cb1fd5c2 to your computer and use it in GitHub Desktop.
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