-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect glyph order with Bengali #84
Comments
Which font? |
I have also tested with NotoSansBengali-Regular.ttf, and the result is correct. It seems the issue is font related. |
It looks like the font doesn't have
|
It appears that the differences come down to the left matras:
being ordered incorrectly in the output. I've been away from shaping code for a while now, but my suspicion is that HarfBuzz and/or rustybuzz perform some of the initial reordering required for shaping Indic text, whereas Allsorts bails early if the font's GSUB table doesn't contain the expected script: Lines 1106 to 1112 in 1d05ffa
|
Test text:
ওহে বিশ্ব!
Glyph indexes (allsorts):
1497 1530 1539 3 1521 1533 1527 1543 1521 4
Glyph indexes (rustybuzz):
1497 1539 1530 3 1533 1521 1527 1543 1521 4
We can see there's a bit off with allsorts.
Used config:
The text was updated successfully, but these errors were encountered: