linebender / norad

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

Glif lib: serialization ends up with unordered keys #127

Closed madig closed 3 years ago

madig commented 3 years ago

The commented out test in https://github.com/linebender/norad/pull/126 fails because the keys of the serialized lib section are unordered when they should be alphabetical with capital letters sorting first. See the referenced sample_period_normalized.glif file.

cmyr commented 3 years ago

I've opened https://github.com/ebarnard/rust-plist/pull/61 which includes support for sorting keys, we'll see if that lands.