interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

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
3Continuation of L694 checkpoint5, executed inline with RED/GREEN. Language:
4handwritten seeded Omega. Reuse the exact existing Allen glyph design and sine
5lookup data from native/kernel/ui/allen_font.c at4c7888f; do not transpile C.
6The legacy source is an external pixel oracle only, never construction/runtime.
7
8Create font-data.om (95 glyph command strings,91 sine samples), font.om (integer
9sqrt/trig, fixed-pool segment generation and single-glyph antialiased masks),
10tests/font.om, tests/font-output.om and tests/font-render.om. No heap or font file.
11API afinit(cap,weight) accepts1..64px and1..2500 weight units; afglyph(byte) maps
12nonprintable input to '?'. Af fields: scale256,halfwidth256,segment count,width,
13height,advance256. Ab[0,1] is signed mask origin relative to baseline. Alpha is
14fixed65536 bytes; Ag contains at most160 line segments. Invalid init preserves
15last state; successful init clears validity. A glyph render replaces the single
16mask; 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
28The current provider/presentation review continues separately; do not duplicate
29it or alter its frozen source. Full scene layout, sky, motion, framebuffer device
30and physical iMac qualification remain subsequent work, not implied by a font.