ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
Subject: Re: relative scaling for fonts
Date: Tue, 14 Nov 2006 00:38:48 +0100	[thread overview]
Message-ID: <45590208.5010302@web.de> (raw)
In-Reply-To: <45849041-0F35-49EB-BD31-4F00AE0D8520@fiee.net>

Henning Hraban Ramm wrote:
> Am 2006-11-12 um 22:17 schrieb Pablo Rodríguez:
> 
>> I'm using XeTeX one of the features that I miss at most from XeLaTeX
>> (from fontspec), is the possibility to set automatically the  
>> scaling of
>> fonts so that they match the lowercase or uppercase letters of the  
>> roman
>> font. I wonder whether there is something similar for ConTeXt.
> 
> I never tried XeTeX, but the relative scaling of fonts is setup in  
> typescripts, e.g.

Sorry, I'm a ConTeXt newbie and I'm not sure whether I have expressed
myself in an accurate manner or I don't understand what you mean.

In XeTeX you can set your fonts in these way:

\definetypeface[myfont][rm][Xserif][Junicode]
\definetypeface[myfont][tt][Xmono][Epigrafica][][rscale=1]
\setupbodyfont[myfont,13pt]

But the problem there is that one should know which is the value of
rscale is. If \lowercase and \uppercase variables were defined, it would
be possible that ConTeXt calculates by itself which is the required
scaling factor to match the roman font (lowercase or uppercase,
respectively). This is explained (for LaTeX I'm afraid) at page 45
(section 8.7.3) of the fontspec documentation
(http://www.ctan.org/tex-archive/macros/xetex/latex/fontspec/fontspec.pdf).

In this way, it would be possible to autoscale to the rm font all fonts
used in a document.

I hope it is clear now,


Pablo

  reply	other threads:[~2006-11-13 23:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-12 21:17 Pablo Rodríguez
2006-11-13 20:06 ` Henning Hraban Ramm
2006-11-13 23:38   ` Pablo Rodríguez [this message]
2006-11-14 11:15 ` Hans Hagen
2006-11-14 19:34   ` Pablo Rodríguez
2006-11-15  9:39     ` Hans Hagen
2006-11-15 13:53   ` Pablo Rodríguez
2006-11-15 14:12     ` Hans Hagen
2006-11-16  8:56       ` Pablo Rodríguez
2006-11-16  9:05         ` Thomas A. Schmitz
2006-11-16 10:54         ` 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=45590208.5010302@web.de \
    --to=oinos@web.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).