From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
Subject: Re: font features
Date: Wed, 17 Nov 2010 21:55:52 +0100 [thread overview]
Message-ID: <4CE44158.2020605@wxs.nl> (raw)
In-Reply-To: <4CE429C0.5080000@FU-Berlin.DE>
On 17-11-2010 8:15, Herbert Voss wrote:
> \setupbodyfont[modern,12pt]
so, 12 pt lm
> \definefontfeature[noLigNoKern][zero=yes,liga=no,kern=no]
> \font\myNoLigNoKern=lmroman12-regular*noLigNoKern
again 12pt lm (as you choose the 12 pt design size)
> \starttext
>
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
> \par\myNoLigNoKern
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
12 pt again
> \setupbodyfont[mylibertine,12pt]
> {\font\myNoLigNoKern=fxlr*noLigNoKern
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
12pt libertine (designsize 10pt scaled to 12pt)
> \par\myNoLigNoKern
libertine at design size
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.}
> \setupbodyfont[mylibertine,12pt]\ss
> \font\myNoLigNoKern=fxbr*noLigNoKern
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
12pt libertine (designsize 10pt scaled to 12pt) (no ss defined)
> \par\myNoLigNoKern
libertine at design size
> Fiffies schöner 0815-Text über die Schifffahrt mit den Schiffern.
compare:
\font\myNoLigNoKern=fxbr*noLigNoKern % designsize
\font\myNoLigNoKern=fxbr*noLigNoKern at 12pt % scaled
there's also:
\definefont[myNoLigNoKern][fxbr*noLigNoKern]\myNoLigNoKern
this defaults to "sa 1" which means: scaled at current bodyfont times 1
\definefont[myNoLigNoKern][fxbr*noLigNoKern at 12pt]\myNoLigNoKern
\definefont[myNoLigNoKern][fxbr*noLigNoKern sa 1]\myNoLigNoKern
\definefont[myNoLigNoKern][fxbr*noLigNoKern sa 2]\myNoLigNoKern
etc
so, \font is the dumb one: design size unless explicitly specified size
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-17 20:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 19:15 Herbert Voss
2010-11-17 20:55 ` Hans Hagen [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-03 11:37 Thomas A. Schmitz via ntg-context
2022-11-03 11:52 ` Herbert Voss via ntg-context
2022-11-03 12:19 ` Thomas A. Schmitz via ntg-context
2022-11-03 17:57 ` Hans Hagen via ntg-context
2022-11-03 12:20 ` Henning Hraban Ramm via ntg-context
2022-11-03 12:27 ` Henning Hraban Ramm via ntg-context
2022-11-03 13:03 ` Thomas A. Schmitz via ntg-context
2022-11-03 18:24 ` Hans Hagen via ntg-context
2022-11-03 19:38 ` Thomas A. Schmitz via ntg-context
2009-05-15 2:06 Font features Vyatcheslav Yatskovsky
2009-05-15 6:21 ` Wolfgang Schuster
2009-05-15 12:23 ` Idris Samawi Hamid ادريس سماوي حامد
2009-05-15 12:41 ` Alex Lubberts
2009-05-15 14:22 ` 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=4CE44158.2020605@wxs.nl \
--to=pragma@wxs.nl \
--cc=Herbert.Voss@FU-Berlin.DE \
--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).