[XeTeX] OpenType features

Yves Codet ycodet at club-internet.fr
Sun Oct 3 07:46:20 CEST 2004


Le 2 oct. 04, à 19:09, Jonathan Kew a écrit :

>
> I believe this may be a font problem with the attachment point on the 
> 'ja' glyph in the Sanskrit 2003 OpenType tables (but I'm not confident 
> of this yet; more investigation is needed). Here's an experiment I 
> tried, which seems to suggest the font may be at fault:
>
> (1) In Yves' test file, I replaced the sample text with
>
> \begin{verse}
> 	\dev{
> 	दे\\
> 	बे\\
> 	के\\
> 	जे\\
>  	}
> \end{verse}
>
> which demonstrates that with Sanskrit 2003, the e-vowel also appears 
> way to the right when used on 'ja'. (The same with other diacritics 
> above, too.) Note that adjustments to the horizontal position of the 
> diacritic work fine for other letters (screenshot attached):
> <texshop_image.pdf>
> So this establishes that the problem is not limited to the udatta but 
> occurs with other marks.

It seems to be the case with all superscripts but apparently only at 
the end of a line. I tried this:

\begin{verse}
	\dev{के\\ जे\\ जँ\\ जेजेजे\\ जँजँजँ\\ र्जर्जर्ज}
\end{verse}

Here is the result:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanskrit2003.pdf
Type: application/pdf
Size: 40764 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20041003/f9af769a/sanskrit2003-0001.pdf
-------------- next part --------------

The whole row is dragged to the right.

> (2) In place of Sanskrit 2003, use a different Devanagari font that 
> includes OpenType tables for mark positioning. One that I'm aware of 
> is Raghindi, available from 
> <http://rohini.ncst.ernet.in/indix/download/font/raghu.ttf>. With this 
> font, I get correct positioning of the mark over all the sample base 
> characters:
> <texshop_image.pdf>
>

Raghindi places accents correctly but does not produce the right glyph
रृ for "ra + vocalic r". I have been testing it for a short time, I hope 
there aren't any other flaws.

Nobody at SIL is preparing a fine Nagari font by chance? For Sanskrit 
(including Vedic) a flawless font is still missing.

Best wishes,

Yves



More information about the XeTeX mailing list