Hello, I also have a question about font features. Minion Pro has old style numerals. How to display them, provided that I enabled this feature? In the following test script, I get ordinary numbers, no old style. \starttypescript [serif] [MinionPro] \definefontsynonym [Serif][MinionPro-Regular.otf][features=onum] \stoptypescript \starttypescript [MinionPro] \definetypeface [MinionPro][rm][serif][MinionPro][features=onum] \stoptypescript \usetypescript[MinionPro] \setupbodyfont[MinionPro,16pt] \starttext This is bla bla bla 1234567890. \stoptext Regards, Vyatcheslav
Am 15.05.2009 um 04:06 schrieb Vyatcheslav Yatskovsky:
Hello,
I also have a question about font features. Minion Pro has old style numerals. How to display them, provided that I enabled this feature?
In the following test script, I get ordinary numbers, no old style.
\definefontfeature[onum][default][onum=yes] or you the predefined 'oldstyle' feature set.
\starttypescript [serif] [MinionPro] \definefontsynonym [Serif][MinionPro-Regular.otf][features=onum] \stoptypescript
Use 'name:' or 'file:' prefix for the the font and remove the file extension, e.g. \definefontsynonym [Serif][file:MinionPro-Regular][features=onum] Wolfgang
On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster
\definefontfeature[onum][default][onum=yes]
What is the second option for? \definefontfeature[onum][onum=yes] should work as well. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
On vr, 2009-05-15 at 06:23 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster
wrote: \definefontfeature[onum][default][onum=yes]
What is the second option for?
If I'm correct, this means define a font feature onum, that inherits from default with the difference onum=yes. Regards, Alex
Alex Lubberts wrote:
On vr, 2009-05-15 at 06:23 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster
wrote: \definefontfeature[onum][default][onum=yes] What is the second option for?
If I'm correct, this means define a font feature onum, that inherits from default with the difference onum=yes.
indeed ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Alex Lubberts
-
Hans Hagen
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster