From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: lmtx & lohit-devanagari fonts
Date: Tue, 21 Apr 2020 18:27:22 +0200 [thread overview]
Message-ID: <29626665-6f73-2901-4dcd-3f5402b8cbd4@gmail.com> (raw)
In-Reply-To: <20200421173524.6d0f9eef@atmarama.ddns.net>
Saša Janiška schrieb am 21.04.2020 um 17:35:
> On Tue, 21 Apr 2020 15:32:24 +0200
> Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 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_should_work_with_all_Ubuntu_versions
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-04-21 16:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 13:06 Saša Janiška
2020-04-21 13:32 ` Wolfgang Schuster
2020-04-21 15:35 ` Saša Janiška
2020-04-21 15:58 ` Pablo Rodriguez
2020-04-21 16:21 ` Saša Janiška
2020-04-21 16:27 ` Wolfgang Schuster [this message]
2020-04-21 19:32 ` Saša Janiška
2020-04-21 21:07 ` Pablo Rodriguez
2020-04-22 5:43 ` Saša Janiška
2020-04-22 6:10 ` Henning Hraban Ramm
2020-04-22 9:03 ` Saša Janiška
2020-04-22 8:01 ` [OBORONA-SPAM] " Vladimir Lomov
2020-04-22 9:15 ` Saša Janiška
2020-04-22 6:16 ` Henning Hraban Ramm
2020-04-22 9:49 ` Arthur Reutenauer
2020-04-23 9:49 ` Indic scripts/languages (was: lmtx & lohit-devanagari fonts) Henning Hraban Ramm
2020-04-22 13:19 ` lmtx & lohit-devanagari fonts Hans Hagen
2020-04-22 22:12 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29626665-6f73-2901-4dcd-3f5402b8cbd4@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).