All formats

DVI libraries

DVI is simple to parse but hard to render: glyphs come from TeX fonts (TFM metrics plus PK or Type 1 outlines) that a library has to locate in a TeX installation. Only a few libraries do it; most programs call dvipdfmx, dvisvgm or dvipng instead.

Language Library Read Write Notes
Python Matplotlib dviread yes no pages as lists of glyphs and boxes with positions and fonts; needs TeX fonts
Go star-tex dvi yes yes decode commands, interpret pages with a renderer callback, encode DVI

Other options:

By language#