Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Issue with Arabic Type

$
0
0

@Okliis wrote:

Hi all,
Trying to display Arabic text and I’m not getting the correct letter forms (initial, medial and final).
All it displays is the “detached” form of the letters.

I have added the unicode ranges that I thought would take care of them (ArabicPresFormsA & B), but it still isn’t working.
Here’s a snippet:

ofTrueTypeFontSettings settings("DubaiRegular.ttf", 155);
    settings.addRange(ofUnicode::Arabic);
    settings.addRange(ofUnicode::ArabicPresFormsA);
    settings.addRange(ofUnicode::ArabicPresFormsB);
    
    ttf.load(settings);
    s = "دبي";

The text should look like what I initialized the above string (s), however it ends up looking like this (detached form only):

Anybody have an idea, or experience with Arabic type?

Thanks in advance,
O

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles