[NTG-context] Selecting fonts using the built-in simplefonts module

Pablo Rodriguez oinos at gmx.es
Sun Mar 29 18:52:04 CEST 2015


On 03/29/2015 05:56 PM, Jörg Weger wrote:
> Your mistake was that you did not use the correct font family name in 
> the third pair of square brackets. It is simply “Junction”.

Hi Jörg,

this loads Junction Regular, but not Junction Light.

> Assuming that you want to use Junction Light as your “regular sans 
> serif” font and Junction Regular as your “bold sans serif” you define 
> for sans serif:
> 
> \definefontfamily[mainface][ss][Junction]
> 	[regularfont=Junction Light, boldfont=Junction Regular]
> 
> Now \ss should give Junction Light and \ss \bf should give Junction Regular.

This works, but the name of the font in the third pair of brackets is
fully irrelevant. This works too:

    \definefontfamily[mainface][ss][FarinUrlaub]
    [tf=Junction Light, bf=Junction Bold]

I’m afraid these fonts are wrong named.

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list