On Tue, Feb 18, 2020 at 12:54 PM Marcel Fabian Krüger <tex@2krueger.de> wrote:

A plain LuaTeX example for this would be

\directlua{
  callback.register('kerning', node.kerning)

  font.current(font.define {
    name = "dummy",
    type = "virtual",
    characters = {
      {
        width = 655360,
        height = 655360,
        depth = 655360,
        commands = {},
      },
      right_boundary = {
        width = 655360,
        height = 655360,
        depth = 655360,
      },
    },
  })
}
\char1
\bye


this fails with 

(see the transcript file for additional information)</opt/luatex/mkvi-experimen
tal-53/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf>
! error:  (file dummy) (type 3): font dummy at 72 not found

--
luigi