dvisvgm 3.4
- Option
--embed-bitmaps
is now also applied to images included with specialdvisvgm:img
(#229). - Added macro
{?cmyk(c,m,y,k)}
to allow for directly specifying CMYK colors in literal SVG fragments. - Extended the dvips color specials to distinguish between fill and stroke colors. For further information see
the manual page. - Added color special
color set
to replace the current color without pushing a new value onto the color stack.
See the manual page for more details. - Added macros
{?fillcolor}
and{?strokecolor}
to retrieve the current fill and stroke color, respectively.
The former macro{?color}
equals{?fillcolor}
and is still available too. - Replaced millimeter units with big point (bp) units in the message showing the extent of the generated SVG file.
TeX's big points equal SVG, PostScript, and PDF points (1in = 72bp), while TeX points are slightly smaller (1in = 72.27pt).$ dvisvgm -d2 frktest pre-processing DVI file (format version 2) processing page 1 graphic size: 398.34pt x 456.34pt (396.85bp x 454.63bp) output written to frktest.svg 1 of 1 page converted in 0.0754669 seconds
- Fixed the detection of MIME types depending of file name suffixes.
- Several small code improvements.