On Thu, Aug 28, 2008 at 8:43 AM, Ulrich Dirr
Taco Hoekwater wrote:
Ulrich Dirr wrote:
After defining a typescript (see comlete example attached) I want to use protrusion and expansion (I've followed the description in co-typography.pdf):
\definetypeface[kievit][rm][sans][kievit][default][features=hz] \definetypeface[kievit][ss][sans][kievit][default][features=hz] \definetypeface[kievit][tt][mono][modern][default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02]
\usetypescript[kievit] \setupbodyfont[kievit,ss,10pt] \definefontfeature[default][default] [protrusion=pure,expansion=quality,mode=node,script=latn]
This line should read:
\definefontfeature[hz][default] [prot....
Afaics, everything else looks ok.
But has no effect :-(
\definefontfeature[latin-default] [default] [script=latn,expansion=quality,protrusion=pure] \definefontfeature[latin-smallcaps][smallcaps][script=latn,expansion=quality,protrusion=pure] \definefontfeature[latin-oldstyle] [oldstyle] [script=latn,expansion=quality,protrusion=pure] \starttypescript [sans] [kievit] \definefontsynonym [KievitProRegular] [name:KievitPro-Regular] [features=latin-default] \definefontsynonym [KievitProMedium] [name:KievitPro-Medium] [features=latin-default] \definefontsynonym [KievitProExtraBold] [name:KievitPro-ExtraBold] [features=latin-default] \definefontsynonym [KievitProItalic] [name:KievitPro-Italic] [features=latin-default] \definefontsynonym [KievitProMediumItalic] [name:KievitPro-MediumItalic] [features=latin-default] \definefontsynonym [KievitProExtraBoldItalic] [name:KievitPro-ExtraBoldItalic] [features=latin-default] \stoptypescript \starttypescript [sans] [kievit] \setups[font:fallback:sans] \definefontsynonym [Sans] [KievitProRegular] [features=latin-default] \definefontsynonym [SansBold] [KievitProMedium] [features=latin-default] \definefontsynonym [SansItalic] [KievitProItalic] [features=latin-default] \definefontsynonym [SansBoldItalic] [KievitProMediumItalic] [features=latin-default] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps] \stoptypescript \starttypescript [kieviet] \definetypeface [\typescriptone] [rm] [sans] [\typescriptone] [default] \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default] \definetypeface [\typescriptone] [tt] [mono] [modern] [default] [rscale=1.12] \definetypeface [\typescriptone] [mm] [math] [iwona] [default] [rscale=1.02] \stoptypescript \usetypescript[kievit] \setupbodyfont[kievit,ss,10pt] \enableadjusting \enableprotruding Wolfgang