Al Tilmidh
Al Tilmidh

Reputation: 103

Representation of Arabic characters in a string

I am looking to get the code for the same letter but in different positions in a string, relying on the Arabic Presentation Forms-B reference. For example, a string like the following:

"ممم م"

In this example, we have the same letter "م" corresponding to the code 0645. However, depending on the position in the string, it takes different glyph codes (or representation forms, or whatever name it goes by). The previous string is structured as follows (from right to left):

Position 4 → FEE3 (Initial)

Position 3 → FEE4 (Medial)

Position 2 → FEE2 (Final)

Position 1 → (space)

Position 0 → FEE1 (Isolated)

My question is as follows:

Does the HarfBuzz library allow this manipulation? If "Yes", which function use to accomplish that?

Upvotes: 7

Views: 146

Answers (0)

Related Questions