harfbuzz-wasm-examples icon indicating copy to clipboard operation
harfbuzz-wasm-examples copied to clipboard

[shadow] Shadow font has wrong clusters

Open behdad opened this issue 2 years ago • 1 comments

This long is wrong: https://github.com/simoncozens/wasm-examples/blob/d0420534c95f2f2e1e9727c75f8769679e3a740d/shadow/src/lib.rs#L31

Try setting the cluster for the additional glyphs to the fluster of the last glyph.

Currently the font crashes eg. Pango.

behdad avatar May 19 '23 23:05 behdad

(I tried building the font to fix it but my wasm-pack doesn't build.)

behdad avatar May 19 '23 23:05 behdad