From: Florian Wobbe <Florian.Wobbe@awi.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: font sizes (again)
Date: Wed, 29 Sep 2010 14:30:33 +0200 [thread overview]
Message-ID: <24780A58-38B8-489B-971A-3E3FD61BA5BD@awi.de> (raw)
Hi,
please regard this minimal example:
\setupbodyfont[10pt]
\starttext
\title{Title}
\section{Section}
{\switchtobodyfont[big] big}
{\switchtobodyfont[small] small}
{\tfxx tfxx}
{\tfx tfx}
{\tfa tfa}
{\tfb tfb}
{\tfc tfc}
{\tfd tfd}
\stoptext
Latin Modern Regular is available in different optical sizes - lmroman{5,6,7,8,9,10,12,17}-regular.otf - and as context is aware of these sizes (configured in typescripts) I wonder why they are not correctly assigned. This table indicates what happens instead:
\tfxx 6pt -> lmroman6 (as expected)
\tfx 8pt -> lmroman8 (as expected)
\tftf 10pt -> lmroman10 (as expected)
\tfa 12.0pt -> lmroman10 (instead of lmroman12)
\tfb 14.4pt -> lmroman10 (instead of lmroman12)
\tfc 17.3pt -> lmroman10 (instead of lmroman17)
\tfd 20.7pt -> lmroman10 (instead of lmroman17)
\switchtobodyfont[small] 8pt -> lmroman8 (as expected)
\switchtobodyfont[big] 12pt -> lmroman12 (as expected)
\title 17.3pt -> lmroman10 (instead of lmroman17)
\section 12pt -> lmroman10 (instead of lmroman12)
The commands \title and \section and the font size switches \tfa, b, c, and d scale the font to the correct size, however, the wrong optical size is assigned. Note, this is not the case for \tfx, xx and \switchtobodyfont. Tested in MKIV and MKII (current beta).
Is this a bug or a feature?
Cheers
Florian
___________________________________________________________________________________
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 reply other threads:[~2010-09-29 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 12:30 Florian Wobbe [this message]
2010-09-30 13:27 ` Mojca Miklavec
2010-10-01 9:55 ` Florian Wobbe
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=24780A58-38B8-489B-971A-3E3FD61BA5BD@awi.de \
--to=florian.wobbe@awi.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).