Saša Janiška schrieb am 21.04.2020 um 17:35:
On Tue, 21 Apr 2020 15:32:24 +0200 Wolfgang Schuster
wrote: Hello Wolfgang,
thank you very much for prompt reply!
You have to set a font which has the required glyphs but you can also use different fonts for both scripts and combine them.
I understand that the font was not set... tried with your example...
\definefallbackfamily [mainface] [ss] [Noto Sans Devanagari] [range={devanagari,devanagariextended}, features=devanagari-two]
\definefontfamily [mainface] [ss] [Noto Sans]
\setupbodyfont[mainface]
\starttext
ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते । सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥
dhyāyato viṣayān puṁsaḥ saṅgas teṣūpajāyate saṅgāt sañjāyate kāmaḥ kāmāt krodho ’bhijāyate
\stoptext
...but although I've installed all the google-noto-serif-devanagari-fonts available for Fedora, it still does not work:
ConTeXt doesn't use system fonts on Linux by default but you have to set them yourself, the following should also work on Fedora https://wiki.contextgarden.net/Ubuntu#With_ConTeXt_Standalone_.E2.80.93_shou... Wolfgang