code wiki / _hdl_build / nx_font_specimen.nx
nx_font_specimen.nx
buildroot/runtime/_hdl_build/nx_font_specimen.nx
about
nx_font_specimen.nx -- one comprehensive SPECIMEN SHEET of the sovereign parametric typeface, rendered
through the real engine so the results can be EYEBALLED: title + all 6 styles (pangram each) + the full
alphabet in Regular and Geometric + a body paragraph in each (the real reading test). One tall PNG.
license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_font.nxnx_aa_raster.nxnx_png_write.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
| 8 | const K_MAGIC_400000: i64 = 400000 |
| 9 | const K_MAGIC_40000: i64 = 40000 |
| 14 | const CW: i64 = 1560 |
| 15 | const CH: i64 = 2260 |
functions
| 11 | func sp_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: sp_line |
| 12 | func sp_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } called by 1: main |
| 18 | func sp_line(canvas: *u8, x: i64, ytop: i64, text: *u8, empx: i64, col: i64) -> i64 |
| 44 | func main() -> i64 |