This file contains hidden or 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
| from defconAppKit.windows.baseWindow import BaseWindowController | |
| from vanilla import FloatingWindow | |
| from mojo.subscriber import Subscriber, registerGlyphEditorSubscriber | |
| from mojo.UI import SetCurrentGlyphByName | |
| """ | |
| RoboFont Helper | |
| Type: Start up | |
| Purpose: After it's run, if you double click on a component it will jump to its base glyph. | |
| """ |
This file contains hidden or 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
| from mojo.UI import CurrentWindow | |
| from simpleKerning import * | |
| """ | |
| A RoboFont script to expand kerning groups from base glyph to their composites. | |
| You need the simple kerning extension installed for this to work. | |
| 1. Select base glyph(s) (with contours) which are already grouped | |
| 2. Run the script | |
| 3. The groups will be expanded to the composites, if: | |
| - Their width is same as the base glyph |
This file contains hidden or 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: Uppercase | |
| # -*- coding: utf-8 -*- | |
| """Converts the selected text to upppercase.""" | |
| Doc = Glyphs.currentDocument | |
| Font = Glyphs.font | |
| Doc = Glyphs.currentDocument | |
| TextStoreage = Doc.windowController().activeEditViewController().graphicView().textStorage() | |
| String = TextStoreage.text().string() | |
| Range = TextStoreage.selectedRange() |