Am 18.04.2014 um 08:20 schrieb joasyann...@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
___________________________________________________________________________________

Reply via email to