ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Marcel Fabian Krüger" <tex@2krueger.de>
To: ConTeXt users list <ntg-context@ntg.nl>
Subject: \fontdimen in LuaMetaTeX
Date: Mon, 3 Aug 2020 19:57:17 +0200	[thread overview]
Message-ID: <20200803175717.kq3mk7d3xprb7kic@yoga> (raw)

Hi,

recent LuaMetaTeX versions no longer automatically resize the fontdimen
arrays on assignments.
Is there a way to manually resize them or is it necessary to reload a
patched font you want more fontdimens?

Also, there is an issue with the error message (I guess) for font.setfontdimen:

\starttext
\directlua{font.setfontdimen(0, 8, 0)}
\stoptext

gives

token call, execute: invalid option '%i' to 'lua_pushfstring'
stack traceback:
	[C]: in function 'font.setfontdimen'
	[ctxlua]:1: in main chunk

1     \starttext
2 >>  \directlua{font.setfontdimen(0, 8, 0)}
3     \stoptext
4     

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

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

             reply	other threads:[~2020-08-03 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-03 17:57 Marcel Fabian Krüger [this message]
2020-08-04  7:34 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200803175717.kq3mk7d3xprb7kic@yoga \
    --to=tex@2krueger.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).