From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: fallback font in new interface to simplefonts
Date: Sat, 25 Jan 2014 13:20:08 +0100 [thread overview]
Message-ID: <c1ddab17-f2ee-4f9e-9cda-5792e944217b@keima.localdomain> (raw)
In-Reply-To: <52E3A9C4.5040403@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1678 bytes --]
Hi Pablo,
you have to use the name of the font family (the name which is displayed in word processors when you choose a font). When you want to use the bold font for the upright style you can add “tf=style:bold” to the fourth argument of \definefallbackfamily.
\definefallbackfamily[mainface][serif][FreeMono][tf=style:bold,range={hebrew,alphabeticpresentationforms}]
BTW: You can omit “force=yes” because it’s part of the default setup.
Wolfgang
On 25.01.2014 13:10:44, Pablo Rodriguez <oinos@gmx.es> wrote: Dear list,
the following code doesn’t find the fallback font for Hebrew:
\definefallbackfamily[mainface][serif][FreeMono-Bold][range={hebrew,
alphabeticpresentationforms}, force=yes]
\definefontfamily[mainface][serif][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
ץ׃.
\stoptext
But the same font works with the old interface:
\usemodule[simplefonts]
\setmainfontfallback[FreeMono-Bold][range={hebrew,
alphabeticpresentationforms}, force=yes]
\setmainfont[TeX Gyre Pagella]
\starttext
ץ׃.
\stoptext
Am I doing something wrong here?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 1882 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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-25 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 12:10 Pablo Rodriguez
2014-01-25 12:20 ` Wolfgang Schuster [this message]
2014-01-25 12:37 ` 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=c1ddab17-f2ee-4f9e-9cda-5792e944217b@keima.localdomain \
--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).