{"modulePath":"github.com/model-harness/pdftools","version":"v1.3.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/model-harness/pdftools/bench","name":"bench","synopsis":"Package bench scores a converter's Markdown against a gold Markdown file, so a change to extraction, layout, or the sink can be judged by a number instead of a diff.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/bits","name":"bits","synopsis":"Package bits reads a bit stream MSB-first or LSB-first.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/cmd/pdfspec","name":"main","synopsis":"Command pdfspec is the CLI for the pdftools toolkit.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/content","name":"content","synopsis":"Package content reads PDF content streams: the token stream, and the graphics and text state machine that turns operators into positioned glyphs.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/doc","name":"doc","synopsis":"Package doc is the domain model every other package converges on: what a document looks like after it has been read and before it has been written out.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/extract","name":"extract","synopsis":"Package extract turns a page's content stream into positioned text.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/filter","name":"filter","synopsis":"Package filter decodes PDF stream filters (ISO 32000-2 §7.4).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/font","name":"font","synopsis":"Package font reads font dictionaries and answers the two questions text extraction asks of a font: what does this character code mean, and how far does it advance the text position (ISO 32000-2 §9.5 through §9.7).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/font/cmap","name":"cmap","synopsis":"Package cmap reads PDF CMaps: the code-to-CID mappings of composite fonts and the code-to-Unicode mappings of /ToUnicode streams (ISO 32000-2 §9.7.5, §9.10.3).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/font/encoding","name":"encoding","synopsis":"Package encoding maps simple-font character codes to glyph names and Unicode.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/function","name":"function","synopsis":"Package function evaluates the PDF functions (ISO 32000-2 §7.10) that an axial shading reads, exactly as pdfium does: cpdf_function.cpp for parsing and dispatch, cpdf_expintfunc.cpp for type 2 (exponential interpolation), cpdf_stitchfunc.cpp for type 3 (stitching).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/geom","name":"geom","synopsis":"Package geom holds PDF user-space geometry: rectangles, transformation matrices, and the tolerance policy shared by every consumer.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/icc","name":"icc","synopsis":"Package icc converts through the one family of ICC profile that a PDF actually carries in practice: a matrix/TRC profile, gray or RGB, with an XYZ connection space.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/image","name":"image","synopsis":"Package image reads image XObjects out of a PDF (ISO 32000-2 §8.9).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/cffbuild","name":"cffbuild","synopsis":"Package cffbuild assembles a bare CFF font program from nothing, for tests.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/iccbuild","name":"iccbuild","synopsis":"Package iccbuild assembles minimal ICC profiles, for tests.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/inferd","name":"inferd","synopsis":"Package inferd is a client for the inferd inference daemon's IPC wire protocol (v2, inferd ADR 0021), speaking the wire directly as the protocol document defines it.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/liberation","name":"liberation","synopsis":"Package liberation supplies substitute font programs for documents that embed none.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/oneline","name":"oneline","synopsis":"Package oneline folds a message onto one line, for a warning or a report row that quotes an error.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/pdfbuild","name":"pdfbuild","synopsis":"Package pdfbuild assembles a minimal PDF file from a list of objects, for tests.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/t1build","name":"t1build","synopsis":"Package t1build assembles a Type 1 font program in the PFA form from nothing, for tests.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/internal/ttfbuild","name":"ttfbuild","synopsis":"Package ttfbuild assembles a TrueType font from nothing, for tests.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/layout","name":"layout","synopsis":"Package layout infers roles from geometry and typography, for the documents that declare none.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/objects","name":"objects","synopsis":"Package objects defines the PDF object model this repository owns, plus the Store interface for reading it out of a file.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/objects/pdfcpu","name":"pdfcpu","synopsis":"Package pdfcpu adapts github.com/pdfcpu/pdfcpu (Apache-2.0, pure Go) to the objects.Store interface.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/ocr","name":"ocr","synopsis":"Package ocr recovers text from pages whose content stream does not carry it.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/ocr/gemma","name":"gemma","synopsis":"Package gemma asks inferd's vision model what only a model can answer: a second reading of a word Tesseract is unsure of, a description of a picture, and the values of a chart (ADR 0044).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/ocr/tesseract","name":"tesseract","synopsis":"Package tesseract reads page images with the tesseract CLI, run as a subprocess when it is installed (ADR 0043).","isRedistributable":true},{"path":"github.com/model-harness/pdftools/pdfspec","name":"pdfspec","synopsis":"Package pdfspec converts a PDF to Markdown.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/render","name":"render","synopsis":"Package render turns a page into pixels.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/render/native","name":"native","synopsis":"Package native rasterizes a page in Go, with no borrowed engine.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/render/pdfium","name":"pdfium","synopsis":"Package pdfium adapts github.com/klippa-app/go-pdfium (MIT) over pdfium compiled to WebAssembly to the render.Rasterizer interface.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/sectionize","name":"sectionize","synopsis":"Package sectionize reconstructs a document's clause hierarchy.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/sink/markdown","name":"markdown","synopsis":"Package markdown writes a doc.Document as Markdown.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/sink/okf","name":"okf","synopsis":"Package okf writes a doc.Outline as an Open Knowledge Format bundle.","isRedistributable":true},{"path":"github.com/model-harness/pdftools/tag","name":"tag","synopsis":"Package tag reads a PDF's logical structure tree: the /StructTreeRoot graph described in ISO 32000-2 §14.7.","isRedistributable":true}],"total":36}}
