simoncozens / crowbar

A text shaping debugger
Apache License 2.0
42 stars 2 forks source link

Rendering does not show original glyphs at any stage #58

Open sanketgarade opened 1 year ago

sanketgarade commented 1 year ago

I am a complete newbie to text rendering so forgive me if I use wrong terminology.

I tried to see the text नमस्कार using font Noto serif Devanagari.

I remember seeing about 2 weeks ago that at some of the shaping stage, if I moved my mouse on that stage the individual characters would show up in the render (in the top right corner) instead of the merged ligatures. But today (12 May) for all stages, the render remains unchanged.

i.e. -

previously : नमस्कार would show up something like - न म स ् क ा र at some stages.

now : नमस्कार shows up like नमस्कार at all stages.

image

simoncozens commented 1 year ago

This is probably the same as #57. I'll take a look.

simoncozens commented 1 year ago

No, I see the problem; it's a different one. HarfbuzzJS implements the intermediate shaping by stopping once it sees "end lookup ...". But in this case, only one lookup application happens. We need to be able to stop it after the initial reordering as well.