ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: {\rm foo {\it bar}}
Date: Tue, 4 Jul 2023 23:42:57 +0200	[thread overview]
Message-ID: <C0DDEE0F-72DD-447E-9782-01540C4E8B1F@rna.nl> (raw)
In-Reply-To: <6530e87e-8662-4be1-c2e6-b1b84a5d37f8@gmail.com>


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



> On 4 Jul 2023, at 23:26, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> 
> Gerben Wierda schrieb am 04.07.2023 um 23:17:
>> After erasing the font cache and regenerating LM was doing it right again.
>> 
>> Helvetica did not, but maybe I made a mistake in
>> 
>> \definefontfamily
>>   [helvetica]
>>   [ss]
>>   [Helvetica]
>>   [tf=style:Regular,
>>    bf=style:Bold,
>>    it=style:Oblique,
>>    bi=style:Bold Oblique]
> 
> Does it work when you remove the manual assignments to tf, it, etc. or when you use lowercase names (without spaces), e.g. "bi=boldoblique" (or "bi=bolditalic").

No and no. With th elatter it doesn't load Helvetica at all, Error shown:
selectfont      > the requested font 'Helvetica' has no files for the 'tf' alternative, Latin Modern is used instead.
mkiv lua stats  > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf, lmsans10-regular.otf

With my original it does load (but no italic):
mkiv lua stats  > loaded fonts: 4 files: helvetica.ttc, latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf


Erase cache, regenerate formats, reload fonts (force) does give another (probably unrelated) error:

fonts           | names | identifying system font files with suffix 'ttf'
fonts           | names | globbing path '/Library/Fonts/**.ttf'
fonts           | names | globbing path '/System/Library/Fonts/**.ttf'
otf reader      | fatal error in file '/System/Library/Fonts/SFCompactRounded.ttf': ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: attempt to index a nil value (field '?')
stack traceback:
	...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2344: in metamethod 'index'
	...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: in local 'reader'
	...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2089: in upvalue 'readtable'


Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>


[-- Attachment #1.2: Type: text/html, Size: 10822 bytes --]

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-07-04 21:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30  9:47 Gerben Wierda
     [not found] ` <E6788A98-8CAA-451F-A3C1-E611791D6C6F@scorecrow.com>
2023-07-04 21:17   ` Gerben Wierda
2023-07-04 21:26     ` Wolfgang Schuster
2023-07-04 21:42       ` Gerben Wierda [this message]
2023-07-04 21:48         ` Gerben Wierda
2023-07-04 22:11           ` Gerben Wierda
2023-07-05  5:57             ` Gerben Wierda
2023-07-05  7:39               ` Henning Hraban Ramm
2023-07-04 21:29 ` Bruce Horrocks

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=C0DDEE0F-72DD-447E-9782-01540C4E8B1F@rna.nl \
    --to=gerben.wierda@rna.nl \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).