Fonts icon indicating copy to clipboard operation
Fonts copied to clipboard

Implement Hebrew Font Shaper

Open JimBobSquarePants opened this issue 4 years ago • 1 comments

Now that #198 has been merged the fundamental infrastructure is there to allow support for Bidi text rendering however we still lack some dedicated shapers. This issue tracks the development of a Hebrew shaper.

Guide. https://github.com/n8willis/opentype-shaping-documents/blob/master/opentype-shaping-hebrew.md

HarfBuzz Implementation https://github.com/harfbuzz/harfbuzz/blob/main/src/hb-ot-shape-normalize.cc https://github.com/harfbuzz/harfbuzz/blob/main/src/hb-ot-shaper-hebrew.cc

JimBobSquarePants avatar Nov 10 '21 13:11 JimBobSquarePants

Wanted to tackle a new challenge..

Probably need to read that "guide" a few times more to find it helpful. Especially when looking at that HarfBuzz implementation.. Could not connect the dots by now...

Doing a lil research for more sources. But it really seems that Harfbuzz is one of the only libs to handle Hebrew shaping out there.

This lib claims it has implemented Hebrew, but has no specific Shaper. https://github.com/yeslogic/allsorts/blob/master/src/scripts/mod.rs It seems it integrated it into the default shaper

stefannikolei avatar Jul 09 '25 04:07 stefannikolei