Yue Wang wrote:
The problem is that that's only a dirty trick that is not supposed to work and might stop working in the future, so I would rather try not to rely on it. A better interface for XeTeX typescripts (something similar to fontspec) is missing heavily.
I prefer use opentype features xxxx than add some non-standard definition like fontspec.
i have no clue what you mean here
so I dont think fontspec do a good job.
You can always use \definefontfeature [myfontfeatures] [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,onum=yes, xxxx=yes, xxxx=yes]
\definefontfeature [oldstyle] [script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,onum=yes] \definefontfeature [myoldstyle] [oldstyle] [xxxx=yes,xxxx=yes]
\definefontsynonym[a font name][a physical font][features=myoldstyle]
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------