Replies: 3 comments 1 reply
-
I don’t understand what you are trying to do. |
Beta Was this translation helpful? Give feedback.
-
Hi @khaledhosny, I am trying to do full Arabic justification on my end after using HarfBuzz. I have some custom justification logic which treats isolated glyphs as separate units of text & stretches them away during justification. As the Arabic script shaping is complex one according to the fact that we can't assume n number of unicodes map to n number of glyphs always. So it is m:n mapping (m=n or m≠n) unlike n:n mapping in Latin scripts. From HarfBuzz, I only have the final glyphs after shaping.
That's why I was asking if HarfBuzz provides any information from hb_buffer or any flags in glyph_info so that we can properly set the cursivity connections between these glyphs |
Beta Was this translation helpful? Give feedback.
-
Can you please confirm whether HarfBuzz provides any such information from hb_buffer or any flags in glyph_info so that we can properly set the cursivity connections between these glyphs. |
Beta Was this translation helpful? Give feedback.
-
Hi @behdad @khaledhosny
We are trying to do justification for Arabic text on our side. For proper justification handling of arabic text we require to know which form(isolated,initial,medial,final) is returned by harfbuzz. Currently hb_shape.exe shows this output as is seen in below example( we can se .init,.medi,.fina etc)
Output:
We would like to know if we can get this information from hb_buffer or any flags in glyph_info so that we can properly set the cursivity connections between these glyphs
Thanks
Beta Was this translation helpful? Give feedback.
All reactions