OK, there's maybe another way (maybe not related directly to XeLaTeX, so I apologize for off topic): is there a way to disable certain glyphs in a font using (Xe)LaTeX? In the font I'm using: KFGQPC Uthman Taha Naskh font: http://fonts.qurancomplex.gov.sa/ there are glyphs buried deep in the file (at its end, 65545 and 65550, which, when removed, produced "correctly" positioned kasra and shadda, as well as tanween-double kasra and shadda (i.e. kasra/double kasra went below the letter). However, although this font is free, no modifications are allowed to be done, so I'd rather simply disable those two glyphs if possible than removing them from the font using, e.g., fontforge (which, btw, returned some errors: wrong direction, missing points at extrema, too many points, bad glyph name).
Not to forget, thank you all for your suggestions. I tried them all, for some fonts using urdu and/or sindhi solved the problem, for some Vafa's code works fine, but this font is different. ________________________________ From: Vafa Khalighi <vafak...@gmail.com> To: xetex@tug.org Sent: Fri, July 9, 2010 3:29:31 AM Subject: Re: [XeTeX] Position of kasra when used together with tashdid in Arabic I was hoping someone knows of a >workaround or a hack which I can use with XeLaTeX to overcome this. Vafa > provided a valuable code (thank you!) which works fine for some fonts, but, >unfortunately, not for this one :( If anyone has any suggestions, please, let >me > >know. Thanks. > I am not sure what kind of font you have but perhaps that is cursive. In that case you can try reducing horizontal spacing between appropriate letters until all letters are connected. You should instead, either if the font is open-source, change it for your own purpose, or use Khaled's suggestion about using luatex instead xetex. -- Best wishes, Vafa Khalighi
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex