From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: definefontfamily options for caps and capsbold fonts
Date: Sun, 26 Jan 2014 22:54:22 +0100 [thread overview]
Message-ID: <6709D282-0677-45D6-A799-E322F9297285@gmail.com> (raw)
In-Reply-To: <52E443BE.8090901@gmx.es>
Am 26.01.2014 um 00:07 schrieb Pablo Rodriguez <oinos@gmx.es>:
> Hi Wolfgang,
>
> with the new simplefonts interface I have two options that used to work
> with the old interface, but that don’t work now.
>
> Here is the command:
>
> \definefontfamily[mainface][mono][ryt1xtt][capsfont=ryt1xttsc,
> boldfont=ryt1xbtt, capsboldfont=ryt1xttsc]
>
> I get mono the bold font, but I cannot get mono small caps or mono bold
> small caps.
You can set the smallcaps font with the “smallcapsfont” key but I suggest
to use the new keys instead because the old ones will disappear at one point.
\definefontfamily[…][…][…][bf=file:ryt1xbtt,sc=file:ryt1xttsc]
The bold caps font you want to use is not possible with the \definefontfamily
command because context doesn’t provide a command to use it by default.
> Is alternative=simplefonts the right way to make them work? (They work
> fine with this option, but I have the impression of using old code.)
The simplefonts alternative works better when you have the small caps
in a separate file (I will look if I can do something for the default alternative
to support this there as well) but I won’t use it because the algorithm
can fail in some cases.
Wolfgang
___________________________________________________________________________________
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:[~2014-01-26 21:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 23:07 Pablo Rodriguez
2014-01-26 21:54 ` Wolfgang Schuster [this message]
2014-01-27 19:54 ` Pablo Rodriguez
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=6709D282-0677-45D6-A799-E322F9297285@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).