* no os numbers in lucida?
@ 2011-09-30 8:27 Meer, H. van der
2011-09-30 8:40 ` Mojca Miklavec
0 siblings, 1 reply; 3+ messages in thread
From: Meer, H. van der @ 2011-09-30 8:27 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
I am fairly sure the Lucida font has oldstyle numbers. But I don't get them with the \os macro. Here two minimal examples. The one with lmodern does the oldstyle numbers, the one with lucida not. I would be obliged for a solution.
Hans van der Meer
\setuppapersize[A6][A6]
\setupbodyfont[lucida] % the other example has [lmodern]
\starttext
\type{\setupbodyfont[lucida]}\crlf
numbers {\rm 1234567890} in rm\crlf
numbers {\os 1234567890} in os\par
\stoptext
[-- Attachment #2: ostest-lucida.pdf --]
[-- Type: application/pdf, Size: 8614 bytes --]
[-- Attachment #3: ostest-lmodern.pdf --]
[-- Type: application/pdf, Size: 10425 bytes --]
[-- Attachment #4: ATT00001.txt --]
[-- Type: text/plain, Size: 4 bytes --]
[-- Attachment #5: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no os numbers in lucida?
2011-09-30 8:27 no os numbers in lucida? Meer, H. van der
@ 2011-09-30 8:40 ` Mojca Miklavec
2011-09-30 14:53 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2011-09-30 8:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, Sep 30, 2011 at 10:27, Meer, H. van der wrote:
> I am fairly sure the Lucida font has oldstyle numbers. But I don't get them with the \os macro. Here two minimal examples. The one with lmodern does the oldstyle numbers, the one with lucida not. I would be obliged for a solution.
Currently Lucida in MKIV is a virtual fonts that is composed out of
existing pieces from 256-character Type1 fonts.
Your code works in MKII, but in MKIV one would need a tiny bit of
trickery to enable an additional OpenType feature in a virtual font.
I know what is wrong, but I have no idea how to fix it. I assume that
one has to create
fonts/fea/context/lucida.fea
and implement the old stlyle numberal font feature there + make sure
that glyphs from the right pfb files are added to the virual font, to
some slots in private area. Including proper renaming.
(The only alternative is to wait for OpenType variant of Lucida.)
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-30 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 8:27 no os numbers in lucida? Meer, H. van der
2011-09-30 8:40 ` Mojca Miklavec
2011-09-30 14:53 ` Hans Hagen
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).