![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
% engine=luatex \starttext \installfontfeature[otf][verb] \definefontfeature [test][mode=node,language=dflt,script=latn,verb=yes,featurefile=verbose-digits.fea] \font\test=name:lmroman10regular*test at 20pt \test 1 2 3 4 \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a0f6b595b0e3b7f3abba19eeb8261fc2.jpg?s=120&d=mm&r=g)
\font\test=name:lmroman10regular*test at 20pt
You probably want a hyphen here (lmroman10-regular); and it doesn't give the expected result for me although ConTeXt reports no error and verbose-digits.fea is found by luatools. When I turn tracing on I get the following reports: report >> define otf: initializing feature mode to node for mode base for font unknown report >> define otf: initializing feature language to dflt for mode node for font unknown report >> define otf: initializing feature script to latn for mode node for font unknown report >> define otf: initializing feature analyze to true for mode node for font unknown report >> define otf: installing feature handler analyze for mode node for font unknown Arthur
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Arthur Reutenauer wrote:
and it doesn't give the expected result
Oops, sorry; forget I said anything ;-) It works fine, and it's great!
ah, good ... i was wondering if we could use this trick to extend some older fonts, for instance chinese fonts with halfwidth variants and such; we only need (shared) fea file then 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Arthur Reutenauer wrote:
\font\test=name:lmroman10regular*test at 20pt
You probably want a hyphen here (lmroman10-regular); and it doesn't give the expected result for me although ConTeXt reports no error and verbose-digits.fea is found by luatools.
no hyphen needed, name: will force mkiv to look up the font in its database and it's rather tolerant ... ignoring spaces, hyphens, completing cropped names etc
When I turn tracing on I get the following reports:
report >> define otf: initializing feature mode to node for mode base for font unknown report >> define otf: initializing feature language to dflt for mode node for font unknown report >> define otf: initializing feature script to latn for mode node for font unknown report >> define otf: initializing feature analyze to true for mode node for font unknown report >> define otf: installing feature handler analyze for mode node for font unknown
yes, i have to look into 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 -----------------------------------------------------------------
participants (2)
-
Arthur Reutenauer
-
Hans Hagen