Unable to get the tatweel flag information for the glyphs from hb-shape tool (HarfBuzz 7.3.0 & 8.3.0) #4528
-
I tried the command line hb-shape.exe tool with multiple fonts for Arabic input as follows:
But I am unable to see any such extra information per glyph. I also tried hb-shape.exe without --safe-to-insert-tatweel flag as follows , & the results are same as that with that flag
This is the output for both these sets of commands (Does not seem to be any tatweel related information here as per me):
I hope I am not missing any required step or command line argument. Please help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
You still need |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing out the typo & the other flag, I am able to see that info by using |
Beta Was this translation helpful? Give feedback.
-
However, I can see some inconsistencies with different fonts. For example:
This gives the following output:
As per my understanding, the tatweel flag defined in the code is getting denoted by the suffixes The above output indicates that the tatweel flag is safe to add before 2nd last glyph for Noto font, but not in case of GeezaPro font But if we visually observe the glyphs as follows, then Tatweel should be allowed for both the fonts: Please correct me if I am wrong |
Beta Was this translation helpful? Give feedback.
-
Hi @khaledhosny |
Beta Was this translation helpful? Give feedback.
You still need
--show-flags
to show any flags (--safe-to-insert-tatweel
tells HarfBuzz to calculate this flag while shaping).