On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr
Hi,
I've adapted the complete luatex/markiv typescript example at http://wiki.contextgarden.net/Mark_IV#Opentype_features for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore fiddling with font installation!).
\starttypescript [sans] [kievit]
\definefontsynonym [KievitProRegular] [name:KievitPro-Regular] [features=default] \definefontsynonym [KievitProMedium] [name:KievitPro-Medium] [features=default] \definefontsynonym [KievitProExtraBold] [name:KievitPro-ExtraBold] [features=default]
\definefontsynonym [KievitProItalic] [name:KievitPro-Italic] [features=default] \definefontsynonym [KievitProMediumItalic] [name:KievitPro-MediumItalic] [features=default] \definefontsynonym [KievitProExtraBoldItalic] [name:KievitPro-ExtraBoldItalic] [features=default]
\stoptypescript
\starttypescript [sans] [kievit]
\definefontsynonym [Sans] [KievitProRegular] [features=default] \definefontsynonym [SansItalic] [KievitProItalic] [features=default] \definefontsynonym [SansBold] [KievitProMedium] [features=default] \definefontsynonym [SansSlanted] [SansItalic] [features=default] \definefontsynonym [SansBoldSlanted] [SansBoldItalic] [features=default] \definefontsynonym [SansCaps] [Sans] [features=smallcaps]
\stoptypescript
\definetypeface[kievit][rm][sans][kievit][default] \definetypeface[kievit][ss][sans][kievit][default] \definetypeface[kievit][tt][mono][modern] [default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02]
\setupbodyfont[kievit,ss,10pt]
Now \bf \it works perfectly well but \sc doesn't. Do I need some extra definition?
Place this at the top of your typescript \definefontfeature[latin-smallcaps][smallcaps][script=latn] and replace "smallcaps" in the following line with "latin-smallcaps". \definefontsynonym [SansCaps] [Sans] [features=smallcaps] Regards, Wolfgang