From: Patrick Gundlach <patrick@gundla.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Cambria and companion fonts
Date: Wed, 29 Sep 2010 15:25:20 +0200 [thread overview]
Message-ID: <105C1FF5-9586-41FB-B797-154AC6A8823F@gundla.ch> (raw)
In-Reply-To: <BFE20FCC-836E-4932-AA48-6BD7CC9A4FD7@gmail.com>
>> While looking at Cambria, is there any typescript (or something similar) that defines for example Corbel or Candara as a companion to Cambria?
>
> No but you can write your own typescript:
>
> \definetypeface [mainface] [rm] [serif] [cambria] [default]
> \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
> \definetypeface [mainface] [tt] [mono] [consolas] [default] [rscale=auto]
> \definetypeface [mainface] [mm] [math] [cambria] [default]
>
> \setupbodyfont[mainface]
OK, I see. (I only searched the .tex files, but missed the .mkiv while searching for "corbel"). Thanks again!
But even if I had seen the lines with corbel, I would have asked how to use the typescript. The definition in type-otf.mkiv goes like:
\starttypescript [sans] [corbel] [name]
...
...
\stoptypescript
I guess [name] is just a default classifier for defining the base level of a filename-font mapping, right? I assume that somewhere there is a statement like
\usetypescript [sans] [corbel] [name]
after saying
\definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto]
Is this the way this is done internally?
What exactly is rscale=auto ?
Patrick
___________________________________________________________________________________
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-09-29 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 12:52 Patrick Gundlach
2010-09-29 12:59 ` Wolfgang Schuster
2010-09-29 13:25 ` Patrick Gundlach [this message]
2010-09-29 13:33 ` Wolfgang Schuster
2010-09-29 14:02 ` 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=105C1FF5-9586-41FB-B797-154AC6A8823F@gundla.ch \
--to=patrick@gundla.ch \
--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).