[XeTeX] Diacritical accent marks using \.{}, \d{} in Tamil/Malayalam

Khaled Hosny khaledhosny at eglug.org
Mon Sep 13 21:46:17 CEST 2010


On Mon, Sep 13, 2010 at 04:45:45PM -0230, P. P. Narayanaswami wrote:
> Thanks.  I get the dots above/below, if I load xunicode package "before"
> fontspec. If I use it after the fontspec, nothing happens.  Also, the 
> dots are not centered properly above or below the characters.
> The dot below using \d{} is somewhat satisfactory, but the dot above
> using \.{} is way off the character too much shifted to left/right.
> 
> Here is the test file:
> \documentclass{article}
> \usepackage{xunicode}
> \usepackage{fontspec}
> \def\tam{\fontspec[Script=Tamil]{Latha}}  
> \begin{document}
> \tam 
> \d{{ரி}}  \.{{ரி}}
> \end{document}

Sorry I didn't notice you are setting Tamil, then I don't think there is
a pre-composed glyph with the dot that you need, so it is all up to the
font support proper placing of combining marks, or you have to position
it manually.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list