code wiki / _hdl_build / nx_x11_font_test.nx
nx_x11_font_test.nx
buildroot/runtime/_hdl_build/nx_x11_font_test.nx
about
nx_x11_font_test.nx -- verify rendering text with a REAL X server font (anti-jank): OpenFont +
set-GC-font + ImageText8. If real (non-5x7) text appears in the window with no SIGPIPE, the path
works and the styled window can switch to real fonts. expect_exit: 0.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_x11_connect.nxnx_x11_window.nxnx_x11_paint.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func fslen(s: *u8) -> i64 { var k: i64=0; while s[k]!=(0 as u8){k=k+1} return k } called by 1: main |
| 11 | func main() -> i64 |