ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hz MkIV
@ 2008-10-03 11:46 Steffen Wolfrum
  2008-10-03 11:53 ` Hans Hagen
  2008-10-03 22:25 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Steffen Wolfrum @ 2008-10-03 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

Hi,

in MkIV hz is bound to the found (thus the speed increase).

Now, how do I assign different degrees of hz to different areas?
Say, moderate hz in the normal text and more drastic in controlled  
situation, like this:

% main text:
\setupbodyfont[postscript,10pt]
\setupalign[block,hanging,hz]

% and in controlled situation:
\setupwhatever[align=hzXXL,style=...]


This doesn't work:

fonts.expansions.classes['NormalQuality'] = {
     stretch = 1, shrink = 1, step = .5, vector = 'default', factor = 1
}

fonts.expansions.classes['DrasticQuality'] = {
     stretch = 2, shrink = 2, step = .5, vector = 'default', factor = 1
}


\definefontfeature[hz][default] 
[protrusion=pure,expansion=sstquality,mode=node,script=latn]
\definefontfeature[hzXXL][default] 
[protrusion=pure,expansion=sstquality,mode=node,script=latn]

\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default][features=hz]%  
<- what to do with hzXXL ???


Steffen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-10-05 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-03 11:46 hz MkIV Steffen Wolfrum
2008-10-03 11:53 ` Hans Hagen
2008-10-03 22:25 ` Hans Hagen
2008-10-05 20:23   ` Steffen Wolfrum

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