To simplify the maintenance of both the website and the program code, I rebuilt the former wiki-based website with a static site generator and moved everything to GitHub Pages. The site is now reachable under the new domain dvisvgm.de.
The old SourceForge (dvisvgm.sf.net) and bplaced (dvisvgm.bplaced.net) addresses now redirect to the new location. Since I’ve kept the page structure, all former URLs should still be valid. If you find a page, a resource, or link that doesn’t work, let me know.
This feature release brings the following additions/changes:
- Added special
pdffilesimilar topsfileto embed PDF graphics. - Added option
--pdfto convert single-page PDF documents to SVG:
$ dvisvgm –pdf -d2 helix.pdf processing PDF file graphic size: 597.51pt x 845.05pt (210mm x 297mm) output written to helix.svg file converted in 1.61882 seconds
- Reassigned short option
-Pfrom--progressto--pdf. - Added option
--stdinto receive input from stdin. Alternatively, a single dash can be used as well:$ dvisvgm -d2 - < frktest.dvi reading from <stdin> pre-processing DVI file (format version 2) processing page 1 graphic size: 398.34pt x 456.34pt (140mm x 160.39mm) output written to stdin.svg 1 of 1 page converted in 0.0790408 seconds
- Option
--stdoutcan now be combined with option--zipto redirect SVGZ data to stdout. - Added processing of Ghostscript operators
.setshapealphaand.setblendmodethat allow for conversion of more transparency parameters, e.g.:
- Fixed outer transformations applied to
psfilespecials. - Fixed computation of bounding boxes triggered by
psfilespecials. - Several code refactorings.
This is a small maintenance release with the following changes:
- Added the evaluation of PostScript operator
setpagedevicein psfile specials. This enables the conversion of a broader range of EPS files created withdvipswhich sometimes contain this operator although not allowed according to the EPS specification. - Fixed the evaluation of dvips color names.
- Fixed the warning message printed when using Ghostscript as of version 9.23.
This is another maintenance release with the following changes:
- Fixed an error message printed when addding a single dash on the command-line.
- Added a missing data file that lead to failing tests (issue #87).
- Updated the bundled brotli library to version 1.0.3.
- Some code refactorings.
This is a minor maintenance release with the following changes:
- Fixed a wrong behavior when requiring both default mapfiles and
pdf:maplineorpdf:mapfilespecials. - Fixed an exception thrown in rare cases of unavailable font files.
This is a minor maintenance release with the following changes:
- Prevent the creation of redundant
tspanelements. - Added support for the new JFM specification introduced in TeX Live r46452 (patch by Hironobu Yamashita).
- Fixed a build error occurred if the Ghostscript development files were missing.
- Fixed a potential memory error regarding option
--cache.
- Fixed the width of characters slanted by a mapfile entry (issue #82).
- If ttfautohint fails for a font, dvisvgm now uses the unhinted font and prints a corresponding warning message.
- Some code cleanup.
This is a small feature release that adds optional experimental support for ttfautohint.
ttfautohint usually creates better results than the FontForge autohinter that dvisvgm uses by default if you
call it with option --font-format=woff,autohint, for example. The fonts embedded in the following SVG file were
hinted with ttfautohint:
In order to build dvisvgm with ttfautohint support, you need the ttfautohint library and the corresponding header
files which are provided as of the latest version 1.8.1. A pre-built DLL of ttfautohint for Windows can be found
here. By default, ttfautohint support is completely disabled
and not available in dvisvgm. To enable it, add option --with-ttfautohint to the configure script, and optionally
specify the location of the ttfautohint development files, e.g. --with-ttfautohint=/opt/ttfautohint. Depending on the
configuration results, the ttfautohint library is either directly linked to the dvisvgm binary or looked up dynamically
when running dvisvgm. If ttfautohint support is available, the list printed when calling dvisvgm with option -V1
contains a corresponding entry, as shown in the box on the right.
$ dvisvgm -V1
dvisvgm 2.3 (x86_64-pc-linux)
-----------------------------
brotli: 1.0.2
clipper: 6.2.1
fontforge: 20160721
freetype: 2.8.0
Ghostscript: 9.22
kpathsea: 6.2.2
potrace: 1.15
ttfautohint: 1.8.1
woff2: 1.0.1
xxhash: 0.6.4
zlib: 1.2.11