On 12/19/2018 10:46 AM, Hans Åberg wrote:
On 11 Dec 2018, at 15:05, Hans Åberg <haber...@telia.com> wrote:
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.
A workaround is simply making the monospace font the main font:
\definefallbackfamily [mainface][mono][stix][range={0100-10FFFF},force=yes]
\definefontfamily [mainface][mono][courier]
You can force a monospaced by inheriting from a paremnt font, as in:
\definefontfallback
[Mono] [almfixed*none]
[arabic] [force=yes]
\definefontfallback
[Mono] [sileot*none]
[hebrew] [force=yes,factor=1] % factor forces a monospace
\setupbodyfont
[dejavu,10pt]
\showglyphs
\starttext
\starttyping
{لَيْسَ لَدَيَّ أَيُّ فِكْرَةٍ عَمَّا يَعْنِيهِ هٰذَا.}
{אין לי מושג מה זה אומר.}
\stoptyping
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________