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
# removes selected off-curve points for AllFonts() so they are still VF compatible | |
def segment2line(glyph, index, ): | |
c, s = index | |
contour = glyph[c] | |
segment = contour[s] | |
segment.type = "line" | |
glyph = CurrentGlyph() | |
selection = glyph.selection |
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
# MM2SpaceCenter by CJ Dunn, 2019, and licensed under the MIT license. Thanks to Tal Leming, Andy Clymer, David Jonathan Ross, Jackson Cavanaugh, Nina Stössinger for help and inspiration with this script | |
# #when pair changes: get pair and set to space center | |
#you must have a UFO open and have MetricsMachine open | |
import sys, os | |
import random | |
from mojo.UI import CurrentSpaceCenter, OpenSpaceCenter |
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
### These are Glyph Construction formulas by CJ Dunn (www.CJType.com) used to support | |
### Latin S character set as defined by Christoph Koeberlin here: https://github.com/koeberlin/Latin-Character-Sets | |
### | |
### I use these with the Glyph Construction extension for Robofont: https://github.com/typemytype/GlyphConstruction/tree/master/GlyphConstruction.roboFontExt | |
### | |
### variables start with a dollar sign and to use them put the name between curly brackets | |
### offset for accents for uc and lc, change values for each style | |
$top_uc = `O:top+37` | |
$top_lc = `o:top+48` | |
### anchor names variables are below |