nx_lib_pdf.nx
buildroot/runtime/nx_lib_pdf.nx
about
nx_lib_pdf.nx -- sovereign PDF -> text for the library (retires docling).
WIRES the ecosystem's nx_pdf_text (objects -> FlateDecode -> per-font CMap ->
content-stream Tj/TJ -> UTF-8) + nx_lib_fetch. PROVEN LIVE: fetched the 2.2MB
arXiv:1706.03762 PDF over sovereign TLS-1.3 and extracted 536KB of correct
text ("1 Introduction Recurrent neural networks ...") -- no poppler/pdfminer/
docling, no python. license_tier: ORIGINAL
genealogy_id: nishi_library_sovereign_pdf_2026_07_01
dependencies 2 imports · 3 importers
imports: nx_lib_fetch.nxnx_pdf_text.nx
imported by: nx_lib_pdf_diag.nxnx_lib_pdf_probe.nxnx_lib_pmc_pow.nx
structs
| none |
consts
| 10 | const K_MAGIC_16777216: i64 = 16777216 |
functions
| 13 | func nx_lib_pdf_text(pdf: *u8, pdflen: i64, out: *u8, out_cap: i64) -> i64 |
| 19 | func nx_lib_pdf_fetch_text(store: *TrustStore, url: *u8, out: *u8, out_cap: i64) -> i64 |