Releases: mgieseki/dvisvgm
Releases · mgieseki/dvisvgm
dvisvgm 3.4.2
- Fixed the evaluation of Unicode data performed when converting PDF files (#276)
- Fixed the horizontal character positioning in the PDF handler to prevent exceeding text lines. (#276)
- Fixed the drawing of single-colored tensor product patches to also get correct shapes if parts of the surface overlap.
- TTF/WOFF data written to SVG files now use a static creation and modification date to ensure identical SVG files for unchanged input files (#120).
- Slightly improved formatting and wording of the manual page.
dvisvgm 3.4.1
This is just a small maintenance release with these changes:
- When converting PDF files, dvisvgm now shows the number of the page being processed.
- Added missing #include statement required as of GCC 15 (#273).
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.
dvisvgm 3.3
- Added file
dvisvgm.map
to the default font map files being looked up automatically. It can be used to add font mappings which should always be taken into account when dvisvgm is called. - Added evaluation of
#include
and#includefirst
present in font map files to allow for including the contents of other map files. - The conversion of CMYK colors to RGB has been modified so that the resulting colors are now close to those created by Ghostscript and most PDF viewers. Previously, a simple mapping of the color components, like
$\mathrm{cmyk}(1,0,1,0)=\mathrm{rgb}(0,1,0)$ for green, was used. Ghostscript, in contrast, applies ICC profiles to display colors as produced by a designated printer.
Here's an example showing the results of the old (left) and the new CMYK to RGB color conversion applied to a Coons shading patch:
- Fixed the initialization of a transformation matrix which led to invalid bounding boxes when converting a sequence of DVI pages (#268).
- Fixed the computation of internal Coons tensor points.
- Updated the bundled GoogleTest to version 1.12.1.
dvisvgm 3.2.2
Due to the removal of some Ghostscript-specific operators from GS version 10.02.1, dvisvgm fails to extract bitmaps embedded in PS/EPS files when using the latest GS releases (also see #264).
This release replaces the involved operators and should fix the issue.
dvisvgm 3.2.1
- The Ghostscript library is now only loaded when the first PostScript special is processed. This slightly speeds up the conversion of DVI files that don't contain PS specials (#262).
- Applied some changes required for TeX Live builds (patches by Karl Berry, #259, #260).
- Added more details to some DVI warning messages.
- Added some further information to the manual page.
dvisvgm 3.2
- Fixed a rounding issue that could lead to slightly bigger text extents (#256).
- Added the macros
{?pageno}
,{?svgfile}
, and{?svgpath}
to the dvisvgm special commands. - Added a separate verbosity flag 8 for user messages printed by special
dvisvgm:message
. - Added the command-line option
--message
to allow for printing user messages after writing an SVG file (#258). - Applied this upstream patch regarding undefined type punning to the bundled woff2 library.
- Few improvements of the manual page.
dvisvgm 3.1.2
- Improved the evaluation of graphic extents created by the
preview
package (#246). - Fixed the computation of the character box extents performed when using option
--exact-bbox
(#248). - Fixed a memory error in the optimizer module (#250).
- Updated the bundled Brotli library to version 1.1.0.
dvisvgm 3.1.1
- Added evaluation of optional dash prefixes to command-line option
--optimize
to exclude selected optimizer modules. - Fixed the invalid removal of clipping paths referenced in the
defs
section. - Fixed the automatic calls of optimizer module
remove-clippaths
. - Suppress warning messages about deprecated option
-dNEWPDF
introduced with Ghostscript 10.02.0 (#245). - Updated the bundled xxHash library to version 0.8.2.
- Fixed a few paragraphs in the manual page.
dvisvgm 3.1
- Added the command-line option
--currentcolor
to replace a given color with CSS variablecurrentColor
(#214). - Added special
dvisvgm:currentcolor
to replace the currently active color with CSS variablecurrentColor
(#214). - Added special
dvisvgm:message
to print given texts to the console. - Added support for Omega Font Metric (OFM) files.
- Added a fallback mechanism for missing characters in OFM-based virtual fonts proposed by Takuji Tanaka (#241).
- Fixed the handling of whitespace characters in PDF file paths (#233).
- Fixed the vertical placement of "vertical fonts" in horizontal mode (#235).
- Fixed the parsing of floating point numbers which now prevents errors when using libc++ instead of libstdc++ (#240).
- Fixed potential segmentation faults triggered by missing font files (#241).
- Fixed a GLIBCXX assertion error occurred if dvisvgm is built with
_GLIBCXX_ASSERTIONS
enabled (#242). - Improved the handling of font subset prefixes in the new, mutool-based PDF handler (#242).
- Several minor code improvements.