linebender / norad

Rust crate for working with Unified Font Object files
Apache License 2.0
44 stars 12 forks source link

Ser/de Designspace rules #318

Closed madig closed 11 months ago

madig commented 11 months ago

This reads and writes rules in Designspaces.

Does not support standalone <condition> elements outside a <conditionset> because it's annoying to implement.

Specification: https://fonttools.readthedocs.io/en/latest/designspaceLib/xml.html#rules-element