2 August 2013: dvisvgm 1.4 has been released

This is a feature release with the following additions:

  • Basic support for CMap files and CID-keyed fonts has been added. This enables the processing of DVI files created with pTeX, for example.
  • dvisvgm also tries to translate character codes according to the available encoding tables stored in the referenced TrueType/OpenType font file.
  • Support for OpenType (OTF) fonts has been added.
  • If a DVI file contains bounding box information created by the preview package, the size of the SVG is adapted accordingly. Also, dvisvgm prints a message showing the assigned width, height, and depth values in TEX point units. Especially, the depth value can be used to vertically align the SVG graphics with the baseline of surrounding text in HTML or XSL-FO documents, for example.
    $ dvisvgm test
    processing page 1 [1]
      applying bounding box set by preview package (version 11.87)
      width=88.9844pt, height=7.45308pt, depth=3.95029pt
      page size: 88.9844pt x 11.4034pt (31.2744mm x 4.00782mm)
      page written to test.svg
    1 of 1 page converted in 0.421647 seconds
  • The command-line option --linkmark has been extended to mark hyperlinked areas with an arbitrary background color.
  • The processing of PostScript header specials has been improved.
  • PostScript operator show creates much better results now.
  • The DOCTYPE declaration has been removed from the generated SVG files as the W3C recommends to omit it.
  • The encoding of the generated SVG files has been changed to UTF-8.