ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Monospace fallback kerning
@ 2018-12-11 14:05 Hans Åberg
  2018-12-11 20:18 ` Pablo Rodriguez
  2018-12-19  9:46 ` Hans Åberg
  0 siblings, 2 replies; 16+ messages in thread
From: Hans Åberg @ 2018-12-11 14:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In the example below, multiple spaces do not use the spacing of the fallback font for multiple spaces, but instead of the main font it seems, despite the ASCII U+0020 being in the forced override. So the question is how to force ConTeXt to use the fallback font also for multiple spaces.

—
\definefallbackfamily [mainface] [mono] [courier] [range={0000-00FF},force=yes]

\definefontfamily     [mainface][serif][stix]
\definefontfamily     [mainface][mono][stix]
\definefontfamily     [mainface][math][stix]

\setupbodyfont        [mainface,10pt]

\starttext

\starttyping
  code   code
. code . code
. code   code
    code
. . code
      code
. . . code
        code
. . . . code
  code
. code
\stoptyping

\stoptext
—
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2018-12-19 22:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 14:05 Monospace fallback kerning Hans Åberg
2018-12-11 20:18 ` Pablo Rodriguez
2018-12-11 20:35   ` Hans Åberg
2018-12-19  9:46 ` Hans Åberg
2018-12-19 10:31   ` Hans Hagen
2018-12-19 14:48     ` Hans Åberg
2018-12-19 17:25       ` Hans Hagen
2018-12-19 17:46         ` Hans Åberg
2018-12-19 18:01           ` Alan Braslau
2018-12-19 18:16             ` Hans Åberg
2018-12-19 18:28               ` Alan Braslau
2018-12-19 19:34                 ` Hans Åberg
2018-12-19 18:25           ` Hans Hagen
2018-12-19 19:43             ` Hans Åberg
2018-12-19 21:24               ` Hans Hagen
2018-12-19 22:04                 ` Hans Åberg

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