Re: [NTG-context] no os numbers in lucida?

2011-09-30 Thread Hans Hagen

On 30-9-2011 10:40, Mojca Miklavec wrote:


(The only alternative is to wait for OpenType variant of Lucida.)


indeed, it makes no sense to waste time on type 1 lucida's in mkiv

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] no os numbers in lucida?

2011-09-30 Thread Mojca Miklavec
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
___


[NTG-context] no os numbers in lucida?

2011-09-30 Thread Meer, H. van der
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



ostest-lucida.pdf
Description: ostest-lucida.pdf


ostest-lmodern.pdf
Description: ostest-lmodern.pdf


___
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
___