harfbuzz / rustybuzz

A complete harfbuzz's shaping algorithm port to Rust
MIT License
551 stars 37 forks source link

Create equivalents for `hb-view` and `hb-shape` #130

Closed asibahi closed 3 months ago

asibahi commented 3 months ago

Hello,

It might be useful as a tool to have binaries with direct access to the shaper's internals to prototype views and ideas. Creating a command line app that just takes the font and the text and gives output is trivial, but there are a lot of different options and knobs to tweak the output.

The question is, if rustybuzz were to add equivalents (say rb-shape and rb-view, is it important to follow the same options/interface as much as we can or should it do its own thing?

You can see the different options with $ hb-view --help-all

RazrFalcon commented 3 months ago

We already have hb-shape: cargo run --example shape As for view: #70