Repository navigation
Make GlyphsBackend writable for glyph data - #76
Conversation
|
All good so far 👍 |
|
@justvanrossum
Would be great if we could talk about it tomorrow: googlefonts/fontra-glyphs@c4efd49 |
|
@justvanrossum So, the whole formatting with
This is the reason why I implemented
Via I think this might be better and is probably closer to your original idea? |
…ust saveFileWithGsFormatting
# 1. convert VariableGlyph to GSGlyph (but start with a copy of the original)
# 2. serialize to text with glyphsLib.writer.Writer(), using io.StringIO or io.BytesIO
# 3. parse stream into "raw" object
# 4. replace original "raw" object with new "raw" object
# 5. write whole file with openstep_plist
…File to include .glyphspackage This includes some expected exceptions for 'kernTop', 'kernBottom' and 'rememberToMakeCoffee'
This reverts commit 4d58ba1.
Co-authored-by: Just van Rossum <justvanrossum@gmail.com>
|
@justvanrossum I converted a .glyphs file with 3404 characters to a .glyphspackage and compared all glyph names with the glyphspackage glyphs file names and all were the same. It means that |


This fixes #75.
This also fixes #79.
I added all missing 'put' methods from WritableFontBackend as stubs.
This is a draft PR for getting feedback early.