yeslogic / allsorts

Font parser, shaping engine, and subsetter implemented in Rust
https://yeslogic.com/blog/allsorts-rust-font-shaping-engine/
Apache License 2.0
706 stars 23 forks source link

#[no_std] support #7

Open mooman219 opened 4 years ago

mooman219 commented 4 years ago

Looks like supporting woff means including various decompression utilities like zlib and brotil. Could woff support be a feature flag instead and the base library have no_std support?

brendanzab commented 4 years ago

This seems like a really handy thing to have. Might also make compiling to WASM easier too!

brendanzab commented 4 years ago

Oh neat! I see you have https://github.com/mooman219/fontdue - it looks really cool! I wonder if there's anything we can learn from this! 🤔

mooman219 commented 4 years ago

Fontdue definitely much less serious than this project; I just made it because of pain points in RustType. Shaping is incredibly hard, but it would be real nice to integrate with a pure rust shaper now that one exists (Hence the no-std request) ^.^