[NTG-context] definefont

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Jan 23 18:03:51 CET 2019


Alan Braslau schrieb am 23.01.19 um 17:49:
> On Wed, 23 Jan 2019 17:32:41 +0100
> Henning Hraban Ramm <texml at fiee.net> wrote:
>
>>> What are the roles of "*default" and "sa 3" as these appear to be unnecessary?
>> *default activates the default set of OpenType features.
> Are not the default set of OpenType features activated by default?
> (as the name might suggest...). Perhaps *no* features are selected, by default...
> (a misnomer, therefore).

default is just one of many predefined feature sets:

\definefontfeature
   [default]
   [always]
   [liga=yes,
    tlig=yes,
    trep=yes]

>> sa 3 is the font size factor.
> Of course, but how is it used?
> In my example, I scale the text to a specific width, so I really don't care what font size is selected and would assume that the design optimal or "natural" size would be selected, by default.
In your case it isn’t needed but when you have a heading which should 
always be twice the size of the bodyfont you can add "sa 2" to do this.

Wolfgang


More information about the ntg-context mailing list