]> git.lyx.org Git - features.git/commit
Export svg in xhtml, not svgz (bug 10160)
authorGeorg Baum <baum@lyx.org>
Thu, 7 Jul 2016 19:45:12 +0000 (21:45 +0200)
committerGeorg Baum <baum@lyx.org>
Thu, 7 Jul 2016 19:45:12 +0000 (21:45 +0200)
commit26c0bb9bea487c7d1a3ab4583e1e131581ebae97
treef32d584bf2211129485965a059af8f1d2824628f
parentebb194114343000fd1d6f38d295543b6aca17b9e
Export svg in xhtml, not svgz (bug 10160)

LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.
lib/configure.py
status.22x