nx_doc_layout.nx
buildroot/runtime/nx_doc_layout.nx
about
nx_doc_layout.nx -- document layout: text -> 8-bit GRAYSCALE page bitmap (front half of "print real
documents"). Distinct from nx_text_render (that targets the OS 1bpp framebuffer). Blits scaled 8x8 glyphs
from nx_font8x8's font8x8_table() with margins, monospace advance, right-margin wrap, and newline.
Output flows into nx_urf -> Print-Job -> printer. PURE (writes a caller bitmap) -> never-brick. Sovereign.
genealogy_id: project-printer-management-ipp-sclass-2026-06-20 ; license_tier: ORIGINAL
dependencies 1 imports · 8 importers
imports: nx_font8x8.nx
imported by: nx_arousal_body.nxnx_arousal_mesh.nxnx_arousal_render.nxnx_doc_layout_test.nxnx_doc_print.nxnx_doc_to_urf.nxnx_doc_to_urf_test.nxnx_img_print.nx
structs
| none |
consts
| none |
functions
| 10 | func nx_doc_glyph(table: *u8, ch: i64) -> *u8 |
| 17 | func nx_doc_blit(bm: *u8, W: i64, H: i64, gx: i64, gy: i64, glyph: *u8, scale: i64) -> i64 |
| 49 | func nx_doc_render(bm: *u8, W: i64, H: i64, table: *u8, text: *u8, scale: i64, |