Re: About Pango direction
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Girish <girish picopeta com>
- Cc: gtk-i18n-list gnome org
- Subject: Re: About Pango direction
- Date: Mon, 3 Oct 2005 02:29:47 -0400 (EDT)
On Mon, 3 Oct 2005, Girish wrote:
> hi all ,
>
> i have one doubt , any one please clarify me.....
> i built a text editor using Pango . Initially i was not mentioned the
> base direction (i.e PANGO_DIRECTION_LTR). so Pango was able to find the
> base direction automatically. In this case for numeric, punctuations
> it was selecting the direction " PANGO_DIRECTION_LTR_WEAk" when
> pango_layout_move_cursor_visually() called and it was giving
> unexpected(sometimes G_MAX_INT or 0) output. after mentioning base
> direction while creating the PAngo_context() it is working fine.
> but i am understanding why its behaving like this , is it necessary to
> mention base_dir to render layout and for editing ?
Hi there,
I believe this has been fixed in Pango 1.10:
2005-07-25 Owen Taylor <otaylor redhat com>
* pango/pango-layout.c (line_set_resolved_dir): Always set
line->resolved_dir to one of LTR or RTL. (#171439, Reported
by Chris Blizzard)
http://bugzilla.gnome.org/show_bug.cgi?id=171439
> Thanks in advance
>
> Girish
Cheers,
--behdad
http://behdad.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]