<html><body><div>Patrick,<br></div><div><br data-mce-bogus="1"></div><div>Thanks for the confirmation that something like:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>xxx = fonts.definers.read("drm10.otf:mode=base;liga=false;kern=false;", tex.sp("10pt"))<br>x = font.define(xxx)</div><div><br data-mce-bogus="1"></div><div>is a reasonable approach. I should have been more clear, (and I do want to stay exclusively on the Lua side) but the failure of<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>font.getfont(x)<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>and the success of<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>font.fonts[x]<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>led me to think I might be missing something. This behaviour still seems odd to me. Why the difference?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I suppose as long as I have a working system, it is not that important though.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<br data-mce-bogus="1"></div><div>Robert<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br>On February 23, 2021 at 1:08 AM, Patrick Gundlach <patrick@gundla.ch> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content">Hello Robert,<br><br>I am unsure what you want to do, stay on the Lua side or use the TeX side to define fonts?<br><br>I define the fonts on the Lua side by creating a font table then use <br><br>local num = font.define(newfont)<br><br>where newfont is the font table (6.1 in the manual)<br><br>Patrick<br><br><br><br></span></div></div></blockquote></div></div></body></html>