Skip to content

Instantly share code, notes, and snippets.

@ctrlcctrlv
Created September 13, 2022 11:54
Show Gist options
  • Select an option

  • Save ctrlcctrlv/dd4df139e2ed1ce4dd5365579928fa13 to your computer and use it in GitHub Desktop.

Select an option

Save ctrlcctrlv/dd4df139e2ed1ce4dd5365579928fa13 to your computer and use it in GitHub Desktop.
f = fontforge.activeFont()
import unicodedata
for g in f.glyphs():
gn = g.glyphname
if gn[0] == gn[0].upper():
f.selection.select(("more", None), g.glyphname)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment