Instead of fully replacing the glyph with the new space glyph instance, we just edit the id reference (which will produce the same glyph after all when getGlyph is called) but we keep the stringIndex glyph attribute, now needed in here to return it with the GlyphRun.
This is supposed to be merged to the string-index branch, which is still experimental @devongovett
Instead of fully replacing the glyph with the new space glyph instance, we just edit the
id
reference (which will produce the same glyph after all whengetGlyph
is called) but we keep thestringIndex
glyph attribute, now needed in here to return it with the GlyphRun.This is supposed to be merged to the
string-index
branch, which is still experimental @devongovett