What is dvisvgm?
The command-line utility dvisvgm is a tool for TeX/LaTeX users. It converts DVI files to the XML-based scalable vector graphics format SVG. SVG files can be displayed with Adobe's old SVG browser plug-in or the Java-based Squiggle SVG browser from the Apache Batik project, for example. A subset of the current SVG standard 1.1 is also supported by most Web browsers as well as the free vector graphics editor Inkscape.
- Supports classic DVI files (format 2), pTeX DVI files (format 3), and XDV files as generated by XeTeX (format 5).
- Complete font support including virtual fonts, evaluation of font encodings, CMap files, sub-font definitions and font maps.
- Glyph outlines of all required fonts are embedded into the generated SVG files.
- Glyph outlines of fonts that are not available as PFB (PostScript Type 1) or TrueType files are generated on-the-fly by vectorizing METAFONT's bitmap output.
- Allows to replace font elements by paths so that applications without SVG font support are enabled to render dvisvgm's output properly.
- Computes tight bounding boxes for the generated graphics, but supports common paper formats and arbitrary user-defined sizes as well.
--eps allows to convert EPS files to SVG.
- Optionally creates compressed SVGZ files.
- Provides options for applying page transformations, like translation, rotation, scaling, and skewing.
- Evaluation of color, emTeX, tpic, hyperref/HyperTeX, PDF mapfile, and PostScript specials.
- The converter was successfully tested on various Linux (TeX Live) and Windows (MiKTeX) systems.
- dvisvgm has been added to TeX Live and is therefore available for a wide range of operating systems.
- See the manual page for a complete list of command-line options.
dvisvgm is developed by Martin Gieseking and published under the terms of the GNU General Public License, version 3 (or later).