Skip to main content

Learn kapi › Explore the engine

Structure and layout

Reading order, outline and geometry, recovered from a PDF.

A PDF carries positioned text and little else. The engine's PDF reader, bridged to PDFium in WebAssembly, recovers the text with its geometry, and the structure tier infers the outline and the reading order. This playground opens three PDFs in the shared viewer: Layout places each block on the page, Structure shows the outline, Blocks lists the content. Upload a PDF of your own to read it the same way.