You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the Tajawal-Medium font which you can download via Google Font: https://fonts.google.com/specimen/Tajawal
After parsing the font and calling the layout function (without additional params) on an Arabic string, I get the right array of glyphs but with the wrong codePoints for each. Each codePoints is the one of the base glyph (without substitution). I checked via another lib like opentype.js and the glyphs have their own unicode.
I need the true unicode because I don't use the path to display the text.
If I understood correctly this codepoint table contains the unicodes of the characters replaced by the glyph. However, I noticed that even when ligatures are used to replace several characters, no glyph is considered as a ligature and the codepoint array is empty.
Here is the
Tajawal-Medium
font which you can download via Google Font: https://fonts.google.com/specimen/TajawalAfter parsing the font and calling the layout function (without additional params) on an Arabic string, I get the right array of glyphs but with the wrong
codePoints
for each. EachcodePoints
is the one of the base glyph (without substitution). I checked via another lib likeopentype.js
and the glyphs have their own unicode.I need the true unicode because I don't use the path to display the text.
Steps to reproduce:
You can see not the same glyphs but the same code point.
Do you have any idea ? 🙏
The text was updated successfully, but these errors were encountered: