ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Saša Janiška" <gour@atmarama.com>
To: ntg-context@ntg.nl
Subject: Re: lmtx & lohit-devanagari fonts
Date: Tue, 21 Apr 2020 17:35:24 +0200	[thread overview]
Message-ID: <20200421173524.6d0f9eef@atmarama.ddns.net> (raw)
In-Reply-To: <33ab34d1-d66b-668c-c4fd-bd3edbe4ed97@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 9491 bytes --]

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 t.tex

resolvers       | formats | executing runner 'run luametatex format': /home/gour/opt/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="t" --fmt=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/gour/opt/lmtx/tex/texmf-linux-64/bin"
This is LuaMetaTeX, Version 2.05.02 
open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.04.19 19:43 MKIV beta  fmt: 2020.4.21  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 't', input './t', result 't'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './t.tex'
selectfont      > the requested fallback font 'Noto Sans Devanagari' for typeface 'mainface' style 'ss' was ignored because no files where found.
selectfont      > the requested font 'Noto Sans' has no files for the 'tf' alternative, Latin Modern is used instead.
fonts           > preloading modern-designsize (math)
fonts           > typescripts > unknown library 'modern-designsize'
fonts           > 'fallback modern-designsize mm 12pt' is loaded
fonts           > preloading modern-designsize (mono)
fonts           > 'fallback modern-designsize tt 12pt' is loaded
fonts           > checking > char ध (U+00927) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ् (U+0094D) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char य (U+0092F) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ा (U+0093E) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char त (U+00924) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ो (U+0094B) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char व (U+00935) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ि (U+0093F) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ष (U+00937) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char न (U+00928) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char प (U+0092A) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ु (U+00941) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ं (U+00902) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char स (U+00938) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ः (U+00903) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ङ (U+00919) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ग (U+00917) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char े (U+00947) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ू (U+00942) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ज (U+0091C) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char । (U+00964) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ञ (U+0091E) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char क (U+00915) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char म (U+0092E) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char र (U+00930) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ऽ (U+0093D) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char भ (U+0092D) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ॥ (U+00965) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ६ (U+0096C) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char २ (U+00968) in font 'LMSans10-Regular' with id 1: missing
fonts           > checking > char ṁ (U+01E41) in font 'LMSans10-Regular' with id 1: missing
backend         > xmp > using file '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 3, name './t.tex'
close source    > level 1, order 3, name 'cont-yes.mkiv'

mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.004 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 10 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.268 sec), 93 tables (0.016 sec), 561 chunks (0.284 sec)
mkiv lua stats  > traced context: maxstack: 1416, freed: 0, unreachable: 1416
mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 43 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 114, file: 155, direct: 2, late: 0, function 1045, total: 1316
mkiv lua stats  > randomizer: resumed with value 0.82539481794329
mkiv lua stats  > result saved in file: t.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 1 files: lmsans10-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 4 instances, 3 shared in backend, 1 common vectors, 2 common hashes, load time 0.040 seconds 
mkiv lua stats  > font embedding time: 0.003 seconds, 1 fonts
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats  > used engine: luametatex version: 2.0502, functionality level: 20200413, format id: 493, compiler: gcc
mkiv lua stats  > control sequences: 45484 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 33 MB, ctx: 31 MB, max: 46 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.473 seconds, 1 processed pages, 1 shipped pages, 2.114 pages/second
system          | total runtime: 0.483 seconds of 0.540 seconds

Btw, is this http://www.h2o-boeken.nl/product/fonts-in-context/ still relevant
in regard to fonts-stuff or I should contact some other docs to learn?



> 
> 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
> ___________________________________________________________________________________


-- 
Bewildered by the modes of material nature, the ignorant fully
engage themselves in material activities and become attached. But
the wise should not unsettle them, although these duties are inferior
due to the performers' lack of knowledge.

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-04-21 15:35 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 [this message]
2020-04-21 15:58     ` Pablo Rodriguez
2020-04-21 16:21       ` Saša Janiška
2020-04-21 16:27     ` Wolfgang Schuster
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=20200421173524.6d0f9eef@atmarama.ddns.net \
    --to=gour@atmarama.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).