Documentation
¶
Overview ¶
Package pdfrender rasterises a PDF page to an image in pure Go (CGO=0). It is a thin wrapper over the reference renderer github.com/ajroetker/pdf/render, shaped to plug straight into go-tex/engine's RasterizePDF seam:
engine.RasterizePDF = pdfrender.Rasterize
so \includegraphics of a vector .pdf figure typesets as a real raster. The engine core stays free of this (heavy) renderer; a consumer that wants PDF figures — the CLI, loom — opts in with the line above, while the browser/wasm build leaves the seam nil and shows a placeholder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.