We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
font.insertGlyph
It would be useful to be able to store the just-inserted glyph into a variable on the fly.
f = CurrentFont() new_glyph = f.insertGlyph(f['a'], 'b') new_glyph.moveBy((999,999))
Currently, these are the options:
insertGlyph
f = CurrentFont() f.insertGlyph(f['a'], 'b') new_glyph = f['b'] new_glyph.moveBy((999,999))
newGlyph
f = CurrentFont() new_glyph = f.newGlyph('b') new_glyph.appendGlyph(f['a']) new_glyph.width = f['a'].width new_glyph.moveBy((999,999))
f = CurrentFont() new_glyph = f['b'] = f['a']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be useful to be able to store the just-inserted glyph into a variable on the fly.
Currently, these are the options:
insertGlyph
newGlyph
The text was updated successfully, but these errors were encountered: