Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Most legends have their basis in facts. -- Kirk, "And The Children Shall Lead", stardate 5029.5


computers / comp.text.tex / Re: luatex freeserif fonts and devanagari

SubjectAuthor
* luatex freeserif fonts and devanagariFrançois Patte
`* Re: luatex freeserif fonts and devanagariUlrike Fischer
 `- Re: luatex freeserif fonts and devanagariFrançois Patte

1
luatex freeserif fonts and devanagari

<trgk60$ufhb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6114&group=comp.text.tex#6114

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: francois.patte@mi.parisdescartes.fr (François Patte)
Newsgroups: comp.text.tex
Subject: luatex freeserif fonts and devanagari
Date: Thu, 2 Feb 2023 16:17:19 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <trgk60$ufhb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 2 Feb 2023 15:17:20 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6f6badb51445fb6da70c7cb8bb583026";
logging-data="998955"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+klfyop75pCtKo3kbRJluo"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Cancel-Lock: sha1:Ac+pc79iCo1jv1iU0lGMEfvvEtc=
Content-Language: fr-FR
 by: François Patte - Thu, 2 Feb 2023 15:17 UTC

Bonjour,

I am wondering why the freeserif fonts work perfectly with devanagari
script with xelatex but lualatex is unable to make correct correct
ligatures.

Fonts Sanskrit2003 is ok with both fonts.

Run xelatex and luatex on this MWE:

<--------------------------------------------------------
\documentclass{article}

\usepackage{fontspec}

\newfontfamily{\sanskritdev}[%
Language=Sanskrit,%
Script=Devanagari,%
]{%
Sanskrit2003}

\newfontfamily{\freeserifdev}[%
Language=Sanskrit,%
Script=Devanagari,%
]{%
FreeSerif}

\begin{document}

{\sanskritdev अथा छन्दःशास्त्रम् पिङ्गलः हलायुधः}

{\freeserifdev अथा छन्दःशास्त्रम् पिङ्गलः हलायुधः}

\end{document}
---------------------------------------------------------------->
--
François Patte
Université Paris Descartes

Re: luatex freeserif fonts and devanagari

<5qwv61cd7it0.dlg@nililand.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6115&group=comp.text.tex#6115

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news3@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: luatex freeserif fonts and devanagari
Date: Thu, 2 Feb 2023 17:28:19 +0100
Lines: 23
Message-ID: <5qwv61cd7it0.dlg@nililand.de>
References: <trgk60$ufhb$1@dont-email.me>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: individual.net FebOQCFeM1LfLscpgEDMTA3v8yQ7UQOus4CYIDn0JklrutboFJ
Cancel-Lock: sha1:boL0pk1H5KP5rJDPLYLte1KtiBs=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Thu, 2 Feb 2023 16:28 UTC

Am Thu, 2 Feb 2023 16:17:19 +0100 schrieb François Patte:

> Bonjour,
>
> I am wondering why the freeserif fonts work perfectly with devanagari
> script with xelatex but lualatex is unable to make correct correct
> ligatures.

xelatex always uses the harfbuzz renderer (which is better for such
scripts) but lualatex only if you request it:

\newfontfamily{\freeserifdev}[%
Renderer=HarfBuzz, %switch to harfbuzz
Language=Sanskrit,%
Script=Devanagari,%
]{%
FreeSerif}

--
Ulrike Fischer
http://www.troubleshooting-tex.de/

Re: luatex freeserif fonts and devanagari

<trig5n$1b6nq$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=6119&group=comp.text.tex#6119

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: francois.patte@mi.parisdescartes.fr (François Patte)
Newsgroups: comp.text.tex
Subject: Re: luatex freeserif fonts and devanagari
Date: Fri, 3 Feb 2023 09:21:11 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <trig5n$1b6nq$1@dont-email.me>
References: <trgk60$ufhb$1@dont-email.me> <5qwv61cd7it0.dlg@nililand.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 3 Feb 2023 08:21:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3319894531f43e648421468b2142bc96";
logging-data="1415930"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BD8lwNXuxQe92cZ8kBgqS"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Cancel-Lock: sha1:mk21hnScjneJwa4QQis4+7KPync=
In-Reply-To: <5qwv61cd7it0.dlg@nililand.de>
Content-Language: fr-FR
 by: François Patte - Fri, 3 Feb 2023 08:21 UTC

Le 02/02/2023 à 17:28, Ulrike Fischer a écrit :
> Am Thu, 2 Feb 2023 16:17:19 +0100 schrieb François Patte:
>
>> Bonjour,
>>
>> I am wondering why the freeserif fonts work perfectly with devanagari
>> script with xelatex but lualatex is unable to make correct correct
>> ligatures.
>
> xelatex always uses the harfbuzz renderer (which is better for such
> scripts) but lualatex only if you request it:
>
> \newfontfamily{\freeserifdev}[%
> Renderer=HarfBuzz, %switch to harfbuzz
> Language=Sanskrit,%
> Script=Devanagari,%
> ]{%
> FreeSerif}
>

Thank you!

--
François Patte
Université Paris Descartes

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor