Hi all, I want to get alternate end glyphs. Am I going about it correctly? I'm using the latext context minimals. The following compiles fine using the context command, but 'illustrate' ends with a normal e, not the e.end alternative. --------- test.tex ------------------------ \usemodule[simplefonts] \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}] \starttext Text to illustrate \stoptext --------- end ----------------------------- Thanks for your help, Jeremy
Am 05.10.2009 um 23:30 schrieb Jeremy:
Hi all,
I want to get alternate end glyphs. Am I going about it correctly?
I'm using the latext context minimals.
The following compiles fine using the context command, but 'illustrate' ends with a normal e, not the e.end alternative.
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
\setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes] You need the latest version because 'terminalforms' (fina) wasn't available in previous ones and the script option is also new (and required here). Wolfgang
On Tue, Oct 6, 2009 at 9:39 AM, Diego Depaoli
On Tue, Oct 6, 2009 at 8:09 AM, Wolfgang Schuster
wrote: I want to get alternate end glyphs. Am I going about it correctly?
I'm using the latext context minimals. ^^^^^^^ nice typo :-)
uh-oh, actually I'm experimenting with pdflualatex into the minimals too.. -- luigi
Hi Wolfgang,
Thanks for your help.
Wolfgang Schuster
Am 05.10.2009 um 23:30 schrieb Jeremy:
Hi all,
I want to get alternate end glyphs. Am I going about it correctly?
I'm using the latext context minimals.
The following compiles fine using the context command, but 'illustrate' ends with a normal e, not the e.end alternative.
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
\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?
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. Jeremy
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
Wolfgang Schuster
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.
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
Ok. Which files in minimals should I be looking at to see what's going on? Jeremy
Jeremy Hughes wrote:
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}] \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?
this is quite doable (but not implemented yet) .. it falls into a different category of feature applications (probably doable with one of the experimental mechanisms i made for idris) what font is that? Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 07.10.2009 um 12:10 schrieb Hans Hagen:
Is there any way to have the substitution occur at the end of sentences only?
this is quite doable (but not implemented yet) .. it falls into a different category of feature applications (probably doable with one of the experimental mechanisms i made for idris)
what font is that?
Hans Hagen
Jeremy Hughes wrote:
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}] \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
Is there any way to have the substitution occur at the end of sentences only?
this is quite doable (but not implemented yet) .. it falls into a different category of feature applications (probably doable with one of the experimental mechanisms i made for idris)
What files should I look at if I want to try to put something together myself? I tried modifying luatex-fonts-merged.lua to no effect (in fact, when I removed it entirely there was no change). Jeremy
On 6-10-2009 20:53, Jeremy Hughes wrote:
Hi Wolfgang,
Thanks for your help.
Wolfgang Schuster
writes: Am 05.10.2009 um 23:30 schrieb Jeremy:
Hi all,
I want to get alternate end glyphs. Am I going about it correctly?
I'm using the latext context minimals.
The following compiles fine using the context command, but 'illustrate' ends with a normal e, not the e.end alternative.
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
\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?
fixed in upcoming beta ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (6)
-
Diego Depaoli
-
Hans Hagen
-
Jeremy
-
Jeremy Hughes
-
luigi scarso
-
Wolfgang Schuster