2007/12/6, Mojca Miklavec
On Dec 6, 2007 5:09 PM, Steffen Wolfrum wrote:
Am 06.12.2007 um 12:32 schrieb Mojca Miklavec:
The general approach would be something like: \definefontfeature[mine][smcp=yes] \definefontsynonym[a][name:Warnock Pro][features=mine] \showfont[a] (grep the sources for definefontfeature)
hmm ... the only hit is in /base/font-ini.mkii (and font-ini.tex)
\def\mkdefinefontfeature#1% #2 {\setvalue{\??fa#1}} % {#2}
\definefontfeature [default] [liga=yes,kern=yes,tlig=yes,trep=yes] % texligatures=yes,texquotes=yes
\definefontfeature [smallcaps] [liga=yes,kern=yes,tlig=yes,trep=yes,smcp=yes] % texligatures=yes,texquotes=yes
I would prefer something like \definefontfeature [smallcaps] [default] % inherit settings from default [smcp=yes] % add smcp to the feature list I can define my own fontfeature without looking into the source. Wolfgang
\definefontfeature [oldstyle] [liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes] % texligatures=yes,texquotes=yes
font-otf.lua:-- \definefontfeature[calt][language=nld,script=latn,mode=node,calt=yes,clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[dflt][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[fixd][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes,ignoredrules={44,45,47}] s-pre-64.tex: \definefontfeature[default][method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes]
(Might change!!!)
Mojca