ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill McClain <wmcclain@salamander.com>
Subject: interaction between \tfx and \os (2nd try)
Date: Wed, 21 Aug 2002 05:37:30 -0500	[thread overview]
Message-ID: <20020821053730.1eda288c.wmcclain@salamander.com> (raw)

I've found a strange interaction between \tfx and \os: when using both
commands in combination the text is smaller than it should be. I believe
the commands were working correctly earlier in the year.

Tested with ver: 2002.7.26. The example output (75k) is at:

    http://home.salamander.com/~wmcclain/example.pdf

The test shows Computer Modern, Sabon and Jenson examples. It is
particularly instructive to look at the Jenson lines.  My Jenson has no
old-style figures and my typescript simply maps [OldStyle] to the same
font file as [Serif]. So regular and \os text should be the same
characters, but when used in combination with \tfx, the \os text is
smaller.

\tfa works as it should, as does setting the font size explicitly with
\switchtobodyfont.

Here is the source:

* * *

\usetypescriptfile[type-sabon]
\usetypescript[Sabon]

\usetypescriptfile[type-jenson]
\usetypescript[Jenson]

\def\Digits{0123456789}

\starttext 
\startlines

% \tfx \os combination text is very small
Computer Modern
normal \Digits\ {\os \Digits} 
tfx {\tfx \Digits\ {\os \Digits}} 

\switchtobodyfont[Sabon]

% \tfx \os combination text is very small
Sabon
normal \Digits\ {\os \Digits} 
tfx {\tfx \Digits\ {\os \Digits}}

\switchtobodyfont[Jenson]

% \os text should be identical to regular, but when 
% in \tfx it is smaller
Jenson
normal \Digits\ {\os \Digits} 
tfx {\tfx \Digits\ {\os \Digits}} (should be same size!)

% \tfa works as it should
Jenson
normal \Digits\ {\os \Digits} 
tfa {\tfa \Digits\ {\os \Digits}}

% setting explicit point size works as it should
Jenson
normal \Digits\ {\os \Digits} 
8pt {\switchtobodyfont[8pt] \Digits\ {\os \Digits}}

\stoplines
\stoptext

* * *

-Bill
--- 
Sattre Press                                      Tales of War
http://sattre-press.com/                       by Lord Dunsany
info@sattre-press.com             http://tow.sattre-press.com/ 


             reply	other threads:[~2002-08-21 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 10:37 Bill McClain [this message]
2002-08-21 14:21 ` Hans Hagen
2002-08-21 15:35   ` Bill McClain
2002-08-21 15:47     ` Hans Hagen
2002-08-21 16:47       ` Bruce D'Arcus
2002-08-21 15:43 ` Hans Hagen
2002-08-21 18:34   ` Bill McClain

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=20020821053730.1eda288c.wmcclain@salamander.com \
    --to=wmcclain@salamander.com \
    /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).