Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save marcdama/4a78cf7cb3e50f708672 to your computer and use it in GitHub Desktop.

Select an option

Save marcdama/4a78cf7cb3e50f708672 to your computer and use it in GitHub Desktop.
from robofab.world import *
f = CurrentFont()
g = f.selection[0]
for i in f:
for j in i.components:
if j.baseGlyph == g:
i.mark = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment