From: Denis Maier <denis.maier.lists@mailbox.org>
To: ntg-context@ntg.nl
Subject: Superios with Cardo font
Date: Mon, 27 Jan 2020 17:00:18 +0100 [thread overview]
Message-ID: <154d973d-e17a-cdc5-da8a-9f2a7cf1c504@mailbox.org> (raw)
Hi,
I am trying to use the Cardo font with superior figures. But somehow
these seems to work differently here than with other fonts:
====================
\definefontfeature[default][default][
onum=yes,
pnum=yes,
]
\definefontfeature[f:newstyle][onum=no,pnum=no]
\definefontfamily[cardo][rm][Cardo]
\definefontfamily[libertine][rm][Linux Libertine O]
\starttext
\setupbodyfont[cardo]
12345
{\feature[+][f:superiors]12345}
12345
{\feature[+][f:newstyle]\feature[+][f:superiors]12345}
\setupbodyfont[libertine]
12345
{\feature[+][f:superiors]12345}
12345
{\feature[+][f:newstyle]\feature[+][f:superiors]12345}
\stoptext
====================
Why is it that I have to manually disable onum and pnum with Cardo for
sups to work?
(Note: Cardo is a ttf font, Linux Libertine O is a otf)
By the way, what is the correct way to define a new font feature for
superios? (VerticalPosition=Superior; sups=yes;
VerticalPosition=Superscript ...)
Best,
Denis
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2020-01-27 16:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 16:00 Denis Maier [this message]
2020-01-28 17:29 ` 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=154d973d-e17a-cdc5-da8a-9f2a7cf1c504@mailbox.org \
--to=denis.maier.lists@mailbox.org \
--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).