ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Baskervald ADF Virtual Math Fonts
Date: Fri, 18 Apr 2014 16:23:07 +0200	[thread overview]
Message-ID: <5AC8CEAE-745E-42B8-8F01-861D5C7179BF@gmail.com> (raw)
In-Reply-To: <5350c5f1.a50dc30a.4dce.ffffe49c@mx.google.com>


Am 18.04.2014 um 08:20 schrieb joasyannick@gmail.com:

> Ok. You may also answer my question:
> 
> Let us consider the statememt:
> 
> \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic]   [0x1D44E-0x1D467] [\check=yes,force=yes]
> 
> I understand it as: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z)
> of the source font with the glyphs from Baskervald italic having the same code.”
> 
> But how do you map 0x1D44E-0x1D467 of the source font to 0x61-0x7a.
> 
> How do you say:  “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z) of
> the source font with the glyphs  0x61-0x7a (text a-z) from Baskervald italic”?
> 
> For example something like:
> 
> \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic]   [0x1D44E-0x1D467] [0x61-0x7a] [\check=yes,force=yes]

\definefontfallback [baskervaldmath] [file:baskervaldadfstditalic] [lowercasenormal] [offset=lowercaseitalic,force=yes]
%\definefontfallback [baskervaldmath] [file:baskervaldadfstditalic] [uppercasenormal] [offset=uppercaseitalic,force=yes]

\starttypescript [math] [baskervald]
  \loadfontgoodies[texgyre]
  \definefontsynonym [MathRoman] [file:texgyre-termes-math-regular.otf] [features=math\mathsizesuffix,fallbacks=baskervaldmath]
\stoptypescript

\definetypeface [baskervald] [rm] [serif] [termes]     [default]
\definetypeface [baskervald] [mm] [math]  [baskervald] [default]

\setupbodyfont[termes]

\starttext

\math{ABC abc}

\setupbodyfont[baskervald]

\math{ABC abc}

\stoptext

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2014-04-18 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18  6:20 joasyannick
2014-04-18  6:38 ` Mikael P. Sundqvist
2014-04-18 14:28   ` Wolfgang Schuster
2014-04-18 17:59     ` Mikael P. Sundqvist
2014-04-18 14:23 ` Wolfgang Schuster [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-18 16:36 joasyannick
2014-04-17 18:17 joasyannick
2014-04-17 19:05 ` Aditya Mahajan
2014-04-13 19:01 joasyannick
2014-04-13 19:47 ` Wolfgang Schuster
2014-04-13  6:32 joasyannick
2014-04-13 15:52 ` Hans Hagen

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=5AC8CEAE-745E-42B8-8F01-861D5C7179BF@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).