Skip to content

Commit

Permalink
Replace inkscape_convert with Vectory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymorozov committed Dec 13, 2023
1 parent b03b59d commit 3313fb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/isodoc/presentation_function/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ def eps_to_svg(node)
uri = eps_to_svg_uri(node)
ret = imgfile_suffix(uri, "svg")
File.exist?(ret) and return ret
inkscape_convert(uri, ret, "--export-plain-svg --export-type='svg'")
ret
Vectory::Eps.from_path(uri).to_svg.write.path
# pp "called"
# if node.text.strip.empty?
# pp "text empty"
Expand Down

0 comments on commit 3313fb1

Please sign in to comment.