Once upon a time Owen Taylor wrote @ 15 Apr 2003 04:34:40 -0400
On Sun, 2003-04-13 at 07:31, Mohammed Sameer wrote:Once upon a time Mohammed Sameer wrote @ Sat, 12 Apr 2003 03:01:05 +0200Hi all, I have a very strange problem and was wondering if anyone can point me to a starting point, My application is the only gtk2 application i have that is displaying the arabic words disconnected if i enable xft Yes i'm using CVS, however i did a rewrite and it's not working since then I browsed the CVS and i've found that after a commit i did, the letters problem appeared, however i didn't find anything in the new code that could be the reason!! Anyone have an idea where to search for the reason causing this ?I think i've done it, the problem was typedef struct _Lang Lang; struct _Lang { gchar *name; gchar *encoding; Lang *children; }; Lang arabic[] = { {"ISO 8859-6 (Arabic)", "ISO_8859-6", NULL}, {"WINDOWS-1256 (Arabic)", "WINDOWS-1256", NULL}, {NULL} }; changing arabic to _arabic or __arabic did solve itI don't quite understand the above. But one problem that occurs to me is that if the text you were passing to Pango was encoded in presentation forms like using U+FB52 instead of U+06B2 for beh, then Pango wouldn't shape it into connected arabic text. I just filed http://bugzilla.gnome.org/show_bug.cgi?id=110896 For improving the handling of presentation forms in Pango. But generally, text fed to Pango shouldn't use the presentation forms.
Actually mee to, I don't understand why is it happening, Perhaps we need namespaces in C ? I think that software should be able to work fine even if the user is doing some stupid things "that's why GNU/Linux is going in my opinion" I'll check the bug.
Regards, Owen _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- ---------------- -- Katoob Main Developer Linux registered user # 224950 ICQ # 58475622 FIRST make it run, THEN make it run fast "Brian Kernighan".
Attachment:
pgp4S498mTGHh.pgp
Description: PGP signature