Drawing glyphs using relative positioning
Hi, is it possible to convert font paths to relative positioning?
such as:
<glyph unicode="+" glyph-name="plus" horiz-adv-x="731" d="M 101 243 L 586 243 M 435 432 L 249 15.8" />
it can be converted to
<glyph unicode="+" glyph-name="plus" horiz-adv-x="731" d="M 101 243 l 485 0 m -151 189 l -186 -416.2" />
If we want to reposition a glyph in an svg image, we just need to match and change the first M command in the path, without changing all the path points that use absolute positioning instructions.
Edited by Reverier-Xu