Am 06.10.2009 um 20:53 schrieb Jeremy Hughes:
\setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
This gives me terminal forms, but too many of them. I've marked where they appear in the following phrase.
Secret far service ^ ^ ^ ^ ^
It looks like they're substituted at the end of every word and hyphenation point.
Is there any way to have the substitution occur at the end of sentences only?
Since it appears also in the following minimal example it's either a bug in context or in the font itself. \definefontfeature[fina][mode=node,script=latn,fina=yes] \starttext {\definedfont[name:megalopolisextra*fina]Secret far service} \stoptext
You need the latest version because 'terminalforms' (fina) wasn't available in previous ones and the script option is also new (and required here).
How do I find this sort of information? I found 'fina' by browsing through context's otf related files, but grepping all of minimals for 'terminalforms' yields nothing.
you can find in font-ott.lua the following line: ['fina'] = 'Terminal Forms', to use the feature with my module you need the long name as key, it doesn't matter wether you write 'Terminal Forms' (uppercase/lowercase with spaces), 'terminal forms' (lowercase with spaces) or 'terminalforms' (lowercase without spaces) but i prefer the third alternative because it follows context’s syntax. Wolfgang