[NTG-context] ConTeXt mkiv and rsfs fonts

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed May 21 21:54:11 CEST 2014


Am 21.05.2014 um 21:10 schrieb Mikael P. Sundqvist <mickep at gmail.com>:

> On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <otared at gmail.com> wrote:
>> Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example
>>        [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}]
>> Could you please give a brief explanation so that I don’t write nonsense on the wiki?
>> 
>> Best regards: OK
> 
> 
> I'm glad it helped. The range gives the unicode slots where these
> letters "live".
> 
> Hans: Maybe this is a stupid suggestion, but could it be possible to have
> 
> \definefontfamilypreset [math:lowercasecalligraphic]
> as range={1D4B6-1D4CF,212F,210A,2134}
> and
> \definefontfamilypreset [math:uppercasecalligraphic]
> as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B}
> ?
> 
> Otared, If what I write above makes sense, then the setup will be the
> more readable
> 
> \definefallbackfamily[mainface][math][Asana
> Math][range={lowercasecalligraphic,uppercasecalligraphic}]
> \definefontfamily [mainface] [rm] [palatino]
> \definefontfamily [mainface] [math] [Latin Modern Math]
> \setupbodyfont[mainface]

This does already exist, take a look into math-act.lua.

The presets are only needed when you want to use a text font as fallback because you have to set more values.

Wolfgang


More information about the ntg-context mailing list