ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* enabling pdftex's microtypographic features with variant old style figures
@ 2009-11-12 16:57 Oliver Heins
  0 siblings, 0 replies; only message in thread
From: Oliver Heins @ 2009-11-12 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

With the help of Patrick's otfinstall I've installed a font for use with
pdftex/mark ii.  this works fine so far, but i want to use the
microtypographic features not only for the base font, but for the old
style figures variant, too.

\usetypescriptfile[type-corporate]
\usetypescript[corporate]

\setupfontsynonym[Serif][handling=pure]
\setupfontsynonym[Sans][handling=pure]

\definetypeface[corporate][rm][serif][corporate][default][encoding=texnansi]
\definetypeface[corporate][ss][sans][corporate][default][encoding=texnansi]
\definetypeface[corporate][tt][mono][modern]  [default][rscale=1.12]
\definetypeface[corporate][mm][math][iwona]   [default][rscale=1.02]

\setupfonthandling[hz][min=25,max=25,step=5]
\usetypescript[sans][hanging][normal]   % this creates the 'handling' synonyms
\usetypescript[serif][hanging][normal]  % this creates the 'handling' synonyms
\usetypescript[sans][hz][quality]   % this creates the 'handling' synonyms
\usetypescript[serif][hz][quality]  % this creates the 'handling' synonyms
\setupbodyfont[corporate,ss,10pt]
%\Var[osf]

This works for normal figures, but when I switch to osf with \Var[osf]
there is no protrusion nor font expansion.

TIA,
 olli

-- 
Oliver Heins heins@sopos.org    http://oliverheins.net/
http://blog.overheins.net/     F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/     2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2009-11-12 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-12 16:57 enabling pdftex's microtypographic features with variant old style figures Oliver Heins

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