linebender / norad

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

Use of Arc<Glyph> #233

Closed cmyr closed 2 years ago

cmyr commented 2 years ago

Norad stores Arc<Glyph> by default, but this is a slightly weird design choice. Ultimately, the motivation here is runebender, which was the original motivation for this crate; in runebender this is important due to how changes are tracked, but I worry that it might not be that helpful of an API in general.

I'm wondering if I should make the API work with Glyph directly, and only use Arc<Glyph> when the druid feature is enabled? I'd have to think about this a bit more, but I don't think it should complicate things unduly.

madig commented 2 years ago

Closed by #234