Skip to content

Instantly share code, notes, and snippets.

@mathieureguer
Created June 15, 2017 20:40
Show Gist options
  • Save mathieureguer/0892b66d79c2d230089d8bb0a0f0432d to your computer and use it in GitHub Desktop.
Save mathieureguer/0892b66d79c2d230089d8bb0a0f0432d to your computer and use it in GitHub Desktop.
import os.path
# get a path for a png file next to the ufo
path_base = os.path.splitext(CurrentFont().path)[0]
path path_base + ".png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment