Merge: inkscape_tools: support Inkscape versions before and after 0.92
authorJean Privat <jean@pryen.org>
Wed, 5 Apr 2017 00:30:35 +0000 (20:30 -0400)
committerJean Privat <jean@pryen.org>
Wed, 5 Apr 2017 00:30:35 +0000 (20:30 -0400)
commit378bdb8a287ed67cf319b99cb6e7b967fe34ce52
tree518a0633bed368509d9261257af02197ae7b7a22
parentc9072021b10afa19a78af2b0e0760474c9fed842
parent6879531e14c015130a80938a474034f395d9d23a
Merge: inkscape_tools: support Inkscape versions before and after 0.92

Inkscape changed the default DPI at version 0.92. This PR improves `svg_to_png_and_nit` to set the default DPI according to the detected Inkscape version, 90 DPI up until version 0.92 and 96 DPI for version 0.92 and later.

Reference: http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92#Important_changes

This is a more portable solution than #2374.

Pull-Request: #2406