[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Problem rendering Arabic Text.
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Problem rendering Arabic Text. |
Date: |
Wed, 25 Apr 2012 12:31:03 +0200 (CEST) |
> I've an application that uses SDL, SGE and Freetype libraries to
> render text on Screen. Latin text works fine, but Arabic text
> appears from left to right. This is a complex language, is RTL and
> the glyphs are different depending on the possition, and my
> application doesn't care.
>
> Is there a solution to Load and render each character but deppending
> if text is RTL/LTR and drawing the correct character deppending if
> is Arabic etc..?
This is beyond FreeType's scope. You need a higher-level library like
ICU, Pango, or Qt for handling complex scripts.
Werner