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 SVG browser plug-in or the Java-based Batik Squiggle viewer, for example. A subset of the current SVG standard 1.1 is also supported by most Web browsers and the free vector graphics editor Inkscape.
Features
- Complete font support including virtual fonts, evaluation of font encodings, sub-font definitions and font maps.
- Glyph outlines of all used 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.
- Optionally replaces 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.
- 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.
License
dvisvgm is developed by Martin Gieseking and published under the terms of the GNU General Public License, version 3 (or later).