A = function() -- load Nodes to Surface local font = love.graphics.newFont(scale(20)) love.graphics.setFont(font) -- editor objects implicitly depend on current font render_nodes_to_surface(font) B(font) end