[XeTeX] FreeSerif fonts and devanagari ligatures

François Patte francois.patte at mi.parisdescartes.fr
Tue Mar 11 17:36:57 CET 2014


Le 11/03/2014 15:06, Zdenek Wagner a écrit :
> 2014-03-11 14:44 GMT+01:00 François Patte <francois.patte at mi.parisdescartes.fr>:
>> Le 11/03/2014 12:46, Zdenek Wagner a écrit :
>>> 2014-03-11 1:04 GMT+01:00 Khaled Hosny <khaledhosny at eglug.org>:
>>>> On Mon, Mar 10, 2014 at 11:02:02PM +0100, Zdenek Wagner wrote:
>>>>> Harfbuzz broke the indic rules
>>>>
>>>> Just to be clear, Pango/ICU had broken and/or incomplete Indic support,
>>>> some fonts worked fine because they were specifically tested against
>>>> them and adapted to their limitations, but the fonts were broken in
>>>> other implementations (namely the de facto standard OpenType
>>>> implementation and any other that followed it).
>>>>
>>> I have just built FreeFont revision 2910 from svn
>>
>> Where do you find them?
>>
> https://savannah.gnu.org/projects/freefont/

Thank you. These are the fonts coming with texlive-2013.


Can you try to compile this sample and look at ligature tr (gotra) on
first line, ligature  śr on second line and ligature pr on third line.

I get these ligatures disabled with a virama....


\documentclass[a4paper,11pt]{report}

\usepackage{xltxtra}

\setmainfont[Mapping=tex-text]{%
  FreeSerif%
}

\usepackage[sanskrit]{babel}

\newfontfamily\sanskritfont[%
Script=Devanagari,Mapping=RomDev,Language=Sanskrit,AutoFakeSlant=0.2]{FreeSerif}

\begin{document}

{\sanskritfont%

atha
śāṇḍilyagotramunivara

śrīmaheśvaro

pratyūhavyūhanirāsāya

}

\end{document}




-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/xetex/attachments/20140311/0657fdfa/attachment.bin>


More information about the XeTeX mailing list