Created
May 1, 2016 20:41
Star
You must be signed in to star a gist
Activate Default Features
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#MenuTitle: Activate Default Features | |
# -*- coding: utf-8 -*- | |
__doc__=""" | |
Activate these default features | |
""" | |
import GlyphsApp | |
Font = Glyphs.font | |
editTab = Font.currentTab | |
featureList = ['calt', 'liga'] | |
editTab.selectedFeatures().extend(featureList) | |
Glyphs.redraw() | |
editTab.graphicView().reflow() | |
editTab.graphicView().layoutManager().updateActiveLayer() | |
editTab._updateFeaturePopup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the Glyphs 2.3 you can do it like this:
And I extended it a bit, so from 2.3 (886) it is even easier: