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)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_x11_connect_local sys_mmap _x11_build_path nx_unix_connect sys_socket sys_mmap ↻ sys_connect sys_close _x11_write_n sys_write sys_close ↻ _x11_read_n sys_read _x11_rd_u16 _x11_rd_u32 sys_write ↻ nx_x11_create_window nx_x11_alloc_id sys_mmap ↻ _x11_wr_u16 _x11_wr_u32 _x11_send sys_write ↻ nx_x11_set_wm_name sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ fslen nx_x11_create_gc nx_x11_alloc_id ↻ sys_mmap ↻ _x11_wr_u16 ↻ _x11_wr_u32 ↻ _x11_send ↻ nx_x11_open_font nx_x11_alloc_id ↻ sys_mmap ↻ _x11_wr_u16 ↻

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 }
called by 1: main
11func main() -> i64