[cairo] Using Pango+Cairo to layout non-standard / international text

Behdad Esfahbod behdad at behdad.org
Tue Apr 15 15:27:20 PDT 2008

On Thu, 2008-04-10 at 10:38 -0400, robertk54 at aol.com wrote:
> I assumed that to handle right-to-left (i.e. Hebrew) or vertical (i.e.
> Chinese) fonts I would need to adjust the gravity attribute (and
> possibly rotate the text?) but this does not seem to work. 

For right-to-left text, no, you don't need to mess with gravity.  That's
just for vertical.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list