From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: problem with Segoe Ui Symbol as fallback font
Date: Mon, 7 Nov 2022 19:42:45 +0100 [thread overview]
Message-ID: <acae241e-aff3-79a8-7b1d-145a8523af74@fiee.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
I’d like to set Segoe UI Symbol as fallback for all missing glyphs.
But it doesn’t work, I get an error like
registered function call [1145]:
...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339:
attempt to perform arithmetic on a nil value (field 'depth')
stack
... even if there’s no fallback enabled for the math font.
\definefontfallback[segoeFB]
[name:segoeuisymbol]
[0x00300-0x003FF,0x02100-0x02800]
[check=yes,force=no]
That used to work, at least until version 2022-09-18.
It’s completely irregular which ranges throw an error:
0x03000-0x20000 runs
0x02000-0x03000 doesn’t
0x02200-0x027FF doesn’t
And the fallbacks also don’t work, even if there’s no error.
It seems to depend on the font – I get errors with Segoe UI Symbol, but
not with EmojiOneColor or Symbola.
I checked with font versions 5.0 and 5.01, don’t have newer ones.
Does it work with current versions?
Also, a list of fallbacks doesn’t work (I’d like to replace single
characters from different fonts); is it supposed to?
test file attached.
Hraban
[-- Attachment #2: fontfallbacktest.tex --]
[-- Type: application/x-tex, Size: 2150 bytes --]
[-- Attachment #3: Type: text/plain, Size: 496 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
___________________________________________________________________________________
next reply other threads:[~2022-11-07 18:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 18:42 Henning Hraban Ramm via ntg-context [this message]
2023-01-04 12:32 Jacob Kauffmann via ntg-context
2023-01-04 13:29 ` Jacob Kauffmann via ntg-context
2023-01-04 14:49 ` Henning Hraban Ramm via ntg-context
2023-01-04 14:49 ` Hans Hagen via ntg-context
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=acae241e-aff3-79a8-7b1d-145a8523af74@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).