alexheretic / ab-glyph

Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs
Apache License 2.0
372 stars 24 forks source link

Expose slice and vec of raw data #98

Closed alexparlett closed 8 months ago

alexparlett commented 8 months ago

This would be useful for supporting serde in solving

https://github.com/emilk/egui/issues/4311

alexparlett commented 8 months ago

Read over the previous disucssions in #73

The problem is from the libraries referenced we have access to the FontArc only and have no knowledge of the data used to create either a FontRef or FontVec, so this needs to be accessible at that layer down.

alexheretic commented 8 months ago

Thanks!