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

Allow the tables to consult for images to be specified #57

Closed wezm closed 2 years ago

wezm commented 2 years ago

For changes I'm making in https://github.com/wezm/profont/pull/14 I need to be able to access B&W images in the EBDT table. This PR adds a mask that sets the tables to consult for images. It defaults to what we previously supported but there is a new method that allows it to be overridden. This allows me to opt-into reading from the EBDT table in my PR above but should not change any existing behaviour.

wezm commented 2 years ago

Merged manually.