[XeTeX] Using different fonts for devanagari and latin characters

Dominik Wujastyk wujastyk at gmail.com
Sun Feb 12 12:32:04 CET 2012

\setmainfont{Charis SIL}
\newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit 2003}


Here's some text in the default font,
Charis, and {\sanskritfont
अत्र देवनागरीलिप्युदाहरणम् वर्तते| \par}

[image: pic_005.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120212/b97ea6b6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic_005.png
Type: image/png
Size: 13945 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120212/b97ea6b6/attachment.png>

More information about the XeTeX mailing list