1 dofile("textrender.lua");
3 font
, err
= io
.open_arch_read("unifont.jrsr");
5 error("Can't open font: " .. err
);
10 w
, h
= text_metrics("012345\n6789", false);
14 if jpcrr
.wait_vga() then
15 jpcrr
.hud
.top_gap(3, 20);
16 render_text(3, 0, 0, "Timestamp: " .. tostring(jpcrr
.clock_time()), false, 255, 255, 0);