3 ms·
>Now, something like half the compile time and executable size for Runebender is serialization for the XML-based UFO file format for representing fonts. Using
by dralley 6y ago
>Now, something like half the compile time and executable size for Runebender is serialization for the XML-based UFO file format for representing fonts.
Using which library? xml-rs? quick-xml? serde + quick-xml?
- raphlinus 6y agoA large offender is the fontinfo[1] struct, which is serialized with serde and quick-xml. Other parts (the glyphs etc) are done with quick-xml and handwritten code. [1]: https://github.com/linebender/norad/blob/master/src/fontinfo.rs https://github.com/linebender/norad/blob/master/src/fontinfo...