ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] fallbacks
@ 2023-04-22 16:05 Thomas A. Schmitz via ntg-context
  2023-04-22 18:33 ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz via ntg-context @ 2023-04-22 16:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

Hi all,

today, I was struggling with a fallback font I had defined, and I 
discovered that the key "check" doesn't work as I expected. Here's a 
small example:

\definefallbackfamily [presentation] [serif] [TeXGyreTermes] 
[range=0x2329-0x232A,check=yes]
\definefontfamily [presentation] [serif] [AntykwaTorunska]
\setupbodyfont [presentation,12pt]

\starttext

(〈P〉)

\stoptext

With this input, the two characters 〈 and 〉 are not typeset; in the log, 
I find

fonts           > checking > char 〈 (U+02329) in font 
'AntykwaTorunska-Regular' with id 1: missing
fonts           > checking > char 〉 (U+0232A) in font 
'AntykwaTorunska-Regular' with id 1: missing

If I have "check=no," the characters are taken from termes and replaced. 
I was under the impression that "check" should, well, check if the 
characters are not in the main font and fall back to the fallback font 
if they are not, but this doesn't appear to be the case. So what does 
"check" do? Or is this a bug?

Have a great weekend

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-25  5:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-22 16:05 [NTG-context] fallbacks Thomas A. Schmitz via ntg-context
2023-04-22 18:33 ` Pablo Rodriguez via ntg-context
2023-04-22 19:25   ` Thomas A. Schmitz via ntg-context
2023-04-25  5:46     ` Sylvain Hubert via ntg-context

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).