[XeTeX] Problems in Devanagari typing.

Zdenek Wagner zdenek.wagner at gmail.com
Sun Nov 24 19:04:53 CET 2013


2013/11/24 S. venkataraman <svenkat at ignou.ac.in>:
> I was looking for some free, unicode compliant,
> devanagari font family that  has regular, italic and bold variants.  I found
> that aksharyogini, CDAC-GISTYogesh, FreeSans and FreeSerif
> fit the bill. But, there are different problems with different fonts.
> Here is a minimal example with the problems explained with comments.
>   Yogesh font is OK but
> for the one problem.
> Is there a free font with all the three variants that works
> properly?
> *********example file begins***************
> \documentclass{article}
> \usepackage{ifxetex}
> \RequireXeTeX
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \newfontface\yogesh[Script=Devanagari,Ligatures=TeX]{CDAC-GISTYogesh}
> \newfontface\aksharygni[Script=Devanagari,Ligatures=TeX]{Aksharyogini}
> \newfontface\freeserif[Script=Devanagari,Ligatures=TeX]{FreeSerif}
> \newfontface\freesans[Script=Devanagari,Ligatures=TeX]{FreeSans}
> \begin{document}
> \relax
> {\yogesh विकर्णनीय  द्वि-आधारी संक्रिया}\\ %problem with the first word.
> Repha is positioned wrongly.
> {\aksharygni विकर्णनीय  द्वि-आधारी संक्रिया}\\ %problem with second word.
> dvi ligature is not correct.
> {\freeserif विकर्णनीय  द्वि-आधारी संक्रिया}\\ %Problem with second and third
> words. dvi ligature is not correct and kri ligature is not correct.
> {\freesans विकर्णनीय  द्वि-आधारी संक्रिया}\\ %kri ligature is not correct.
> \end{document}

It depends on the version of XeTeX and FreeFont. The shaping engine
was changed in 2013 and the old versions of FreeFont (release
2012-05-03) no longer works. You have to use the latest version from
subversion at https://savannah.gnu.org/projects/freefont/

This book was typeset with it using XeLaTeX from TeX Live 2013:
http://icebearsoft.euweb.cz/ArunakashKaRasta/index-hi.php

> **********************example file ends****************
> Dr. S. Venkataraman
> Associate Professor in Mathematics
> School of Sciences
> IGNOU
> Tel. :29572812
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list