code wiki / _hdl_build / nx_x11_font_test.nx

nx_x11_font_test.nx

buildroot/runtime/_hdl_build/nx_x11_font_test.nx

1732 B42 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic x11
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_x11_connect.nx nx_x11_window.nx nx_x11_paint.nx nx_x11_font_test.nx

imports: nx_syscalls.nxnx_x11_connect.nxnx_x11_window.nxnx_x11_paint.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

9func fslen(s: *u8) -> i64 { var k: i64=0; while s[k]!=(0 as u8){k=k+1} return k }
11func main() -> i64