[XeTeX] Warning about no Hindi language in Devanagari script

Yves Codet yves.codet at sfr.fr
Sat Jan 21 09:24:45 CET 2012


Hello,

It means what the message says, there are no Sanskrit or Hindi language tags in your font. The output is correct because you said "Script=Devanagari", which is enough. You might want to modify your preamble like this:

\setmainfont{FreeSerif}
\newfontfamily{\sk}[Script=Devanagari]{FreeSerif}
\newfontfamily{\hi}[Script=Devanagari]{FreeSerif}

Best wishes,

Yves

Le 20 janv. 2012 à 23:05, Steve White a écrit :

> 
> Hi,
> 
> What does this mean?
> 
> "Package fontspec Warning:
>    Font "Free Serif/ICU/ICU" does not contain language 'Hindi' for
> script 'Devanagari'
> This warning occured on input line 7."
> 
> The document starts with
> ===========================================
> \documentclass[12pt]{book}
> \usepackage{fontspec}
> \usepackage{longtable}
> 
> \setromanfont{FreeSerif}
> \newfontfamily{\sk}[Script=Devanagari,Language=Sanskrit]{FreeSerif}
> \newfontfamily{\hi}[Script=Devanagari,Language=Hindi]{FreeSerif}
> ...
> ===========================================
> 
> Both the Hindi and Sanskrit output of the file looks correct, though!
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



More information about the XeTeX mailing list