On 12/2/2022 7:06 PM, Pablo Rodriguez via ntg-context wrote:
Hi Hans,

I have two issues with variable fonts (using current latest from yesterday):

1. Using the following sample:

  \usemodule[fonts-variable]
  \starttext
   \showfontvariations[font=file:grenze.ttf]
  \stoptext

With the fonts from
https://github.com/Omnibus-Type/Grenze/tree/master/fonts-/gx, I get the
following error message:

lua error:
   run callback [6]:
...ext/tex/texmf-context/tex/context/base/mkxl/lpdf-emb.lmt:84: number
(local 'n') has no integer representation
stack traceback:
    ...base/mkxl/lpdf-emb.lmt:84: in upvalue 'tocardinal2'
    ...base/mkxl/lpdf-emb.lmt:771: in local 'writer'
    ...base/mkxl/lpdf-emb.lmt:2358: in field 'integer index'
    ...base/mkxl/lpdf-ini.lmt:828: in upvalue 'run'
    ...base/mkxl/lpdf-ini.lmt:859: in field 'finalizedocument'
    ...base/mkxl/lpdf-lmt.lmt:3413: in field '?'
    ...base/mkxl/luat-run.lmt:58: in function
      <...ext/tex/texmf-context/tex/context/base/mkxl/luat-run.lmt:56>    

<empty file>
mtx-context     | fatal error: return code: 1

This crashes LuaMetaTeX but not LuaTeX.

i'll catch it

2. The other font is Recursive
(https://github.com/arrowtype/recursive/tree/main/fonts/recursive_for_googlefonts).

  \usemodule[fonts-variable]
  \starttext
   \showfontvariations[font=file:recursive.ttf]
  \stoptext

There are some some instances (in pages 4 to 14) that don’t have the
font (only Latin Modern Roman).

i'll catch it

Also in the last instances (at least, pages 19 to 25), kerning or
interletter spacing clearly needs to be improved.
no clue (ok, a little)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to