Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

Save marcdama/bd05d811d5871bc18d5c to your computer and use it in GitHub Desktop.
FL: From selected Glyphs: Highlight Component Glyphs used to build the selected glyphs
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
f.update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment