Re: Porting Pango - attempting to render right to left text.



On Tue, Mar 19, 2002 at 08:35:04PM -0000, dleach qnx com wrote:
> How would one determine whether to set the base direction
> to LTR or RTL?  Is it safe to say one has to pick
> one or the other, or should a flag be implemented
> on my end to allow a user using the QNX font API
> to set their default base direction?

Currently the base direction is set explicetly by a call to 
pango_layout_set_alignment(). There is a bug report (feature request)
that the direction should be determined automatically according to
the first strong character:

    http://bugzilla.gnome.org/show_bug.cgi?id=70451

Meanwhile the best guess is probably to set the base direction 
according to the current locale.

Regards,
Dov



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]