From: Henri Menke <henri@henrimenke.de>
To: ntg-context@ntg.nl
Subject: Re: Unnecessary loading of lm-mono
Date: Wed, 26 May 2021 22:04:05 +0200 [thread overview]
Message-ID: <20210526200405.myvej3wmusv4nuj3@neomutt> (raw)
In-Reply-To: <81ed770f-8033-51a4-d11d-904d1b184f2a@rik.users.panix.com>
On 26/05/21, 15:14, Rik Kabel wrote:
> For a few revisions now, I have seen the following as the very first line of
> log files. It is not coming from my document. Is anybody else seeing it?
>
> fonts > beware: no fonts are loaded yet, using 'lm mono'
> in box
>
> Here is an example document that generates it:
>
> \setupbodyfont[libertinus,10pt]
> \starttext
> Hello world!
> \stoptext
>
> It seems harmless, but it does result in loading an un-needed font.
>
> mkiv lua stats > loaded fonts: 4 files: lmmono10-regular.otf,
> libertinusmath-bold.otf, libertinusmath-regular.otf,
> libertinusserif-regular.otf
Looks like something is accidentally being typeset (maybe stored in a
box) before \starttext. You can reproduce this in MKIV with the
following
\writestatus{debug}{Before}
\setbox\scratchbox=\hbox{oeps}
\writestatus{debug}{After}
\starttext
Hello world!
\stoptext
and in the log you will find
debug > Before
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
debug > After
so it is definitely due to typesetting.
Cheers, Henri
>
> --
> Rik
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2021-05-26 20:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 19:14 Rik Kabel
2021-05-26 20:04 ` Henri Menke [this message]
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=20210526200405.myvej3wmusv4nuj3@neomutt \
--to=henri@henrimenke.de \
--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).