Comprehensive TeX Archive Network

Direc­tory dviware/dvisvgm

dvisvgm -- A DVI to SVG converter


 dvisvgm is a utility for TeX/LaTeX users. It converts DVI and EPS files to
 the XML-based scalable vector graphics format SVG.


 dvisvgm relies on the following free libraries:
 * Clipper (http://www.angusj.com/delphi/clipper.php)
   To compute the intersections of two curved paths, dvisvgm flattens the paths
   to polygons, intersects them using Clipper, and reconstructs the curves

 * FontForge library (https://www.fontforge.org)
   dvisvgm can be built with optional WOFF support that allows to embed the
   font data in WOFF or TrueType format rather than as SVG. The FontForge
   library provides the required functions to create font files in these
   formats. A reduced version of the library is bundled with the dvisvgm
   sources. It's also available at https://github.com/mgieseki/ff-woff.

 * FreeType 2 (http://www.freetype.org)
   This library is used to extract the glyph outlines from vector fonts
   (PFB, OTF, TTF).

 * Ghostscript (https://www.ghostscript.com)
   The PostScript special handler requires the Ghostscript library
   libgs.so (Linux) or gsdll32.dll/gsdll64.dll (Windows) to be installed.
   If the configure script finds the corresponding Ghostscript development
   files on the system, it directly links against libgs.so.N, where N is the
   library's ABI version. Otherwise, the library is looked up at runtime,
   and PostScript support is enabled only if libgs.so can be found.
   Due to incompatible changes of the Ghostscript API, dvisvgm requires
   Ghostscript 8.31 or later.

 * kpathsea (https://tug.org/kpathsea)
   This library is part of the Web2C package and is usually installed in
   conjunction with a TeX distribution. kpathsea provides functions for
   searching files in the large texmf tree. Please ensure that you use the
   kpathsea version coming with or matching your TeX system.

 * potracelib (http://potrace.sourceforge.net)
   Peter Selinger's bitmap tracing library is utilized to vectorize Metafont's
   bitmap output.

 * woff2 and brotli (https://github.com/google/woff2)
   These Google libraries are bundled with the dvisvgm sources. They are used
   to create WOFF2 from TrueType fonts.

 * xxHash (https://github.com/Cyan4973/xxHash)
   The xxHash library provides a fast hash algorithm. dvisvgm uses it to
   create unique integer values from PostScript character names in order to
   store them in a compact way together with their Unicode points. A recent
   version of xxHash is bundled with the dvisvgm sources.

 * zlib (http://www.zlib.org)
   Compressed SVG files are produced by using functions of this library and the
   Gzstream wrapper classes (http://www.cs.unc.edu/Research/compgeom/gzstream)
   which are licensed under LGPL version 2.1 (or optionally any later version)
   and should be included with this package.

 If you want to build and run the test suite located in the tests subdirectory,
 you also need the Google Test libraries (https://github.com/google/googletest).


 dvisvgm is written in C++11 (ISO C++ standard 2011) and requires an appropriate
 compiler, like GCC 4.9, Clang 3.3, or any later version. The configure script
 checks for the availability of C++11 support and adds the proper compiler
 options if necessary.

 Quick installation info:
   * type "./autogen.sh" if "configure" is not present in the dvisvgm
     root folder
   * type "./configure"
   * type "make"
   * type "make install" as root (or "sudo make install")

 For generic configuration instructions see the file INSTALL.

 The configure script should recognize all necessary parameters.
 If a library is installed but not detected, specify its location
 as commandline parameter of configure, e.g.
   ./configure --with-freetype=/usr/local/freetype
 (all available options can be displayed with ./configure --help)

 The tracer module calls Metafont in case of lacking TFM or PFB files
 via a system call. Please ensure that Metafont is installed and
 reachable through the system's search path.

 If you don't like compiling the sources yourself, you can
 download pre-compiled executables for Windows and MiKTeX
 from the project website instead (see below).

 Information about the command-line interface and the available options can be
 found in the manual page.

 This package is available from CTAN (dviware/dvisvgm) and can be downloaded
 from the project website as well:


 Here you can find the sources, pre-compiled binaries and further additional
 information about the converter and related topics.

 If you've found a bug, please let me know. You can either send me an email or
 preferably use the bug tracker at GitHub (https://github.com/mgieseki/dvisvgm).


 Copyright (C) 2005-2017 Martin Gieseking <martin.gieseking@uos.de>

 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the
 Free Software Foundation; either version 3 of the License, or (at your
 option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 Public License for more details.

 See file COPYING for details.

Down­load the con­tents of this pack­age in one zip archive (3.1M).

dvisvgm – Con­vert DVI files to Scal­able Vec­tor Graph­ics for­mat (SVG)

Dvisvgm is a com­mand line util­ity that con­verts DVI files to the XML-based Scal­able Vec­tor Graph­ics (SVG) for­mat. It pro­vides full font sup­port in­clud­ing vir­tual fonts, font maps, and sub-fonts. If nec­es­sary, dvisvgm vec­tor­izes 's bitmap out­put in or­der to al­ways cre­ate loss­less scal­able out­put. The em­bed­ded SVG fonts can op­tion­ally be re­placed with graph­ics paths so that ap­pli­ca­tions that don't sup­port SVG fonts are en­abled to ren­der the graph­ics prop­erly. Be­sides many other fea­tures, dvisvgm also sup­ports color, em, tpic, PDF map­file and PostScript spe­cials. Users will need a work­ing in­stal­la­tion in­clud­ing the kpath­sea li­brary.

For more de­tailed in­for­ma­tion, see the project page.

Home pagehttp://dvisvgm.bplaced.net
Bug trackerhttps://github.com/mgieseki/dvisvgm/is­sues
Ver­sion2.2 2017-10-20
Li­cense GNU Gen­eral Public Li­cense, ver­sion 3
Main­tainer Martin Giesek­ing
Con­tained inTeX Live as dvisvgm
Topics DVI pro­ces­sor
Guest Book Sitemap Contact Contact Author