ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \fontdimen in LuaMetaTeX
@ 2020-08-03 17:57 Marcel Fabian Krüger
  2020-08-04  7:34 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Fabian Krüger @ 2020-08-03 17:57 UTC (permalink / raw)
  To: ConTeXt users list

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-04  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03 17:57 \fontdimen in LuaMetaTeX Marcel Fabian Krüger
2020-08-04  7:34 ` Hans Hagen

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).