Re: Persian joining and Pango.



On 08/29/11 16:25, Aidan Kehoe wrote:
> 
> Hi Behdad,
> 
>  Ar an naoú lá is fiche de mí Lúnasa, scríobh Behdad Esfahbod: 
> 
>  > Can you point me to the code using Pango? 
> 
> Sure:
> 
> https://bitbucket.org/kehoea/xemacs-gtk/src/97df8ecdf78e/src/redisplay-gtk.c#cl-99

Humm, no idea.  Someone more familiar with the XEmacs codebase should sit down
and debug it.

behdad


>  > I doubt Pango beiing involved in that shaping process.
> 
> :-) .
> 
> Here are a couple of screenshots, the first of XEmacs with font Monospace 10,
> the second of pango-view with the same font and the same (copied and pasted)
> text:
> 
> http://www.parhasard.net/images/xemacs-gtk-with-persian-alphabet-20110829.png
> http://www.parhasard.net/images/pango-view-with-persian-alphabet-20110829.png
> 
> Thanks for your attention.
> 
> Best,
> 
> Aidan
> 
>  > behdad
>  > 
>  > On 08/28/11 09:42, Aidan Kehoe wrote:
>  > > 
>  > > Hello there,
>  > > 
>  > > I’m one of the XEmacs developers. Our GTK version, available here:
>  > > http://anonscm.debian.org/hg/xemacs/xemacs-gtk/ , uses Pango. Joining for
>  > > Arabic-specific characters works fine, but joining for Persian-specific
>  > > characters doesn’t. So when I type:
>  > > 
>  > > الف به په ته ثه 
>  > > 
>  > > alef, beh, teh and theh appear with no problems (well, the bidi is
>  > > iffy, but one step at a time), while peh doesn’t join to heh. On the
>  > > same machine, pango-view with the same text joins with no problems.
>  > > 
>  > > I’ve tried setting the GTK language to Persian; this doesn’t work because
>  > > the system locale doesn’t support it, but as far as I can see it shouldn’t
>  > > be necessary anyway. It’s not immediately obvious to me where to look next;
>  > > any pointers would be welcome.
>  > > 
>  > > Some version info:
>  > > 
>  > > $ pango-view --version
>  > > pango-view (pango) 1.28.4
>  > > Pango module interface version: 1.6.0
>  > > $ pkg-config --modversion pango   
>  > > 1.28.4
>  > > $ pkg-config --modversion gtk+-2.0
>  > > 2.22.1
>  > > $ pkg-config --modversion fontconfig
>  > > 2.8.0
>  > > $ pkg-config --modversion freetype2 
>  > > 12.2.6
>  > > $ 
> 


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