ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Superios with Cardo font
@ 2020-01-27 16:00 Denis Maier
  2020-01-28 17:29 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Maier @ 2020-01-27 16:00 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-28 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 16:00 Superios with Cardo font Denis Maier
2020-01-28 17:29 ` Pablo Rodriguez

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).