Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/native/omega/allen/FONT.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / native / omega / allen / FONT.md` 30 lines ยท 2020 bytes Raw Blame History Rendered 1 # L758 native stroke-font implementation 2 3 Continuation of L694 checkpoint5, executed inline with RED/GREEN. Language: 4 handwritten seeded Omega. Reuse the exact existing Allen glyph design and sine 5 lookup data from native/kernel/ui/allen_font.c at4c7888f; do not transpile C. 6 The legacy source is an external pixel oracle only, never construction/runtime. 7 8 Create font-data.om (95 glyph command strings,91 sine samples), font.om (integer 9 sqrt/trig, fixed-pool segment generation and single-glyph antialiased masks), 10 tests/font.om, tests/font-output.om and tests/font-render.om. No heap or font file. 11 API afinit(cap,weight) accepts1..64px and1..2500 weight units; afglyph(byte) maps 12 nonprintable input to '?'. Af fields: scale256,halfwidth256,segment count,width, 13 height,advance256. Ab[0,1] is signed mask origin relative to baseline. Alpha is 14 fixed65536 bytes; Ag contains at most160 line segments. Invalid init preserves 15 last state; successful init clears validity. A glyph render replaces the single 16 mask; no caching/per-face heap allocation claim. 17 18 - Write compilable stub and native tests; observe meaningful behavior RED. 19 - Handwrite geometry/parser/rasterization with bounded cap/weight and arithmetic. 20 - Run native tests including all95 glyphs, space, fallback, symmetry, bounds, 21 signed angles, full-width sqrt cases and fixed nonzero assertion failure exits. 22 - Compile the unmodified legacy font as a separately labeled host oracle; externally 23 collect mask metadata/bytes, compare with an Omega-emitted glyph stream. Neither 24 oracle C nor collection Python is linked into or used to produce Omega code. 25 - Produce an actual native-rendered specimen, inspect it visually, record hashes. 26 - Run the native combined gate; publish source, exact receipts and known limits. 27 28 The current provider/presentation review continues separately; do not duplicate 29 it or alter its frozen source. Full scene layout, sky, motion, framebuffer device 30 and physical iMac qualification remain subsequent work, not implied by a font.