[XeTeX] Warning from fontspec on script not existing

ShreeDevi Kumar shreeshrii at gmail.com
Sun Sep 11 19:09:31 CEST 2016


Please see the message thread

http://tug.org/pipermail/xetex/2016-June/026670.html

- sent from my phone. excuse the brevity.

On 10-Sep-2016 11:08 PM, "R (Chandra) Chandrasekhar" <chyavana at gmail.com>
wrote:

> I am typesetting text that contains English, Sanskrit, and Tamil scripts.
>
> My MWE file is:
> -----
> \documentclass{article}
> \usepackage{fontspec}
>   \setmainfont{Source Serif Pro}
>         \setsansfont{Source Sans Pro}
>         \setmonofont{Inconsolata}
>         \newfontfamily{\tamil}[Script=Tamil,Scale=0.82]{Lohit Tamil}
>         \newfontfamily{\sanskrit}[Script=Devanagari]{Lohit Devanagari}
> %
> \begin{document}
> This is English text.
>
> This is Sanskrit text: {\sanskrit क्षिप्रं हि मानुषे लोके सिद्धिर्भवति
> कर्मजा}
>
> This is Tamil text: {\tamil கற்க கசடறக் கற்பவை கற்றபின் நிற்க அதற்கு தக}
> \end{document}
> -----
>
> All the fonts are freely available and recognized on my Linux system.
>
> It used to compile with xelatex without any error or warning messages in
> TeXLive 2016 but emits the following warnings with TeXLive 2016:
>
> *************************************************
> * fontspec warning: "script-not-exist"
> *
> * Font 'Lohit Tamil' does not contain script 'Tamil'.
> *************************************************
> *************************************************
> * fontspec warning: "script-not-exist"
> *
> * Font 'Lohit Devanagari' does not contain script 'Devanagari'.
> *************************************************
>
> I am able to compile it and get the attached output PDF file, which is as
> expected.
>
> Nevertheless, the warning tells me that something is not quite right. Why
> is the warning issued and what corrective action must I take?
>
> Many thanks.
>
> Chandra
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160911/7c3a074c/attachment.html>


More information about the XeTeX mailing list