ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: definefallbackfamily stopped working for text fonts
Date: Tue, 28 Aug 2018 19:03:02 +0200	[thread overview]
Message-ID: <d93706b5-ab7e-fae9-109c-337be4cb2b21@gmail.com> (raw)
In-Reply-To: <3ecba0e4-b2a7-24ee-8378-27691db4e187@xs4all.nl>

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]



Hans Hagen schrieb am 28.08.18 um 10:14:
> On 8/28/2018 3:49 AM, Henri Menke wrote:
>> Dear list,
>>
>> In the latest beta the font fallback using a text font in math mode does
>> not work anymore.  The log contains messages like
>>
>> char 𝑐 (U+1D450) in font 'MinionPro-It' with id 8: missing
>> char 𝑎 (U+1D44E) in font 'MinionPro-It' with id 8: missing
>> char 𝑏 (U+1D44F) in font 'MinionPro-It' with id 8: missing
>>
>> which is not surprising because a text font does not have math italics.
>> How can I get this to work again?  MWE below.
>
> Isn't it
>
> \definefallbackfamily
>     [mainface] [math] [Minion Pro]
>     [range=lowercaseitalic,force=yes]
> \definefallbackfamily
>     [mainface] [math] [Minion Pro]
>     [range=digitsnormal,force=yes]
>
> or so? It's Wolfgangs speciality ...

\definefallbackfamily [mainface] [math] [Minion Pro] 
[preset=math:lowercaseitalic,force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro] 
[preset=math:digitsnormal,force=yes]


but there is a bug in the fallback mechanism when you try to replace 
characters which
are in different positions, e.g. mathitalic lowercase a (0x1D44E) with 
upright lowercase a (0x61).

Attached is a test file where I tried to replace the uppercase and 
lowercase mathitalic b
with a letter from a text font but it doesn’t work.

Wolfgang

[-- Attachment #2: math_typescript_fallback.tex --]
[-- Type: application/x-tex, Size: 2274 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

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

      reply	other threads:[~2018-08-28 17:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28  1:49 Henri Menke
2018-08-28  8:14 ` Hans Hagen
2018-08-28 17:03   ` Wolfgang Schuster [this message]

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=d93706b5-ab7e-fae9-109c-337be4cb2b21@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /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).