Closed wezm closed 1 month ago
If anyone has an idea how to fix this issue, I'd be glad to help. Thank you.
If anyone has an idea how to fix this issue, I'd be glad to help. Thank you.
I have a fix, it's just working its way through internal review.
@wezm That's great. Thanks for your efforts, Please let me know if I could be of any help.
This is the fix https://github.com/yeslogic/allsorts/commit/1bf2db89673d28e3cfc781a64ddf7cfbf3c5d416
I'll work on a patch release now
0.14.2 has been published.
Thank you.
It's impressive your deep knowledge of opentype specs. even though the resources are scarce. This fix was — Combining Ligature Marks. Am I correct ?
😊
It's impressive your deep knowledge of opentype specs. even though the resources are scarce.
Unfortunately the OpenType specs are lacking specification for this type of thing so it mostly comes down to receiving bug reports like yours and then trying to work out what should be happening.
This fix was — Combining Ligature Marks. Am I correct ?
The fix for your specific issue was when performing mark-to-mark positioning to consider the ligature component position and only perform mark-to-mark positioning when the marks are on the same ligature component. However, applying this in isolation broke a Vietnamese test we had where one of the marks was itself a ligature so I mirrored what Harfbuzz does and allowed mark-to-mark positioning across ligature components in the case where one of the marks is a ligature.
@wezm Thanks again for your efforts.
No worries, thanks for the clear bug report.
Some marks in the Arabic text "ٱللَّهَ" are not positioned correctly.
Issue
The last glyph colored in "Blue" should be positioned similar to its corresponding glyph in the word below.
This is the layout details for the last glyph
// Render Settings font_size: 72 dpi: 96 upm: 2048 font: uthmanic_hafs_v20.ttf
I will attach the data collected from allsorts in the next comment. Looking forward to hearing from you.
Originally posted by @solomancode in https://github.com/yeslogic/allsorts/discussions/106