Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dissable mergePaths for marker-end="url(#a)" #958

Closed
JoKalliauer opened this issue May 12, 2018 · 1 comment
Closed

dissable mergePaths for marker-end="url(#a)" #958

JoKalliauer opened this issue May 12, 2018 · 1 comment

Comments

@JoKalliauer
Copy link

JoKalliauer commented May 12, 2018

Prozessing File:Mathematical_implication_diagram-neu.svg leads to a remove of the arrows:

$ svgo -i Mathematical_implication_diagram-neu.svg -o output.svg --pretty --indent=1

Mathematical_implication_diagram-neu.svg.txt

<svg xmlns="http://www.w3.org/2000/svg" width="28.58cm" height="13.83cm" font-size="22" viewBox="-20 -33 1080 522.8">
 <marker id="a" orient="auto" overflow="visible">
  <path fill-rule="evenodd" stroke="#000" stroke-linejoin="round" stroke-width=".5" d="M-4.381 2.4l1.386-2.54-1.204-2.63L.882-.005z"/>
 </marker>
 <g fill="none" stroke="#000" stroke-width="4" marker-end="url(#a)">
  <path d="M220 454.4h54.179"/>
  <path d="M900.01 249.79l-.011 43.386"/>
  <path d="M900 369.8v43.379"/>
  <path d="M440 12.4v40.779"/>
  <path d="M440 129.8v43.379"/>
  <path d="M440 249.8v43.379"/>
  <path d="M440 369.8v43.379"/>
  <path d="M740 109.79l-135 90.003"/>
  <path d="M280-10.3H100v423.48"/>
  <path d="M600-10.3h140"/>
  <path d="M600 214.79h135"/>
  <path d="M740 19.786L605 79.788"/>
  <path d="M740 349.8l-135 90.003"/>
 </g>
 <g fill="none" stroke="#000" stroke-width="4" marker-end="url(#a)">
  <path d="M900.01 37.8l-.011 15.353"/>
  <path d="M900.01 129.79l-.012 43.386"/>
 </g>
</svg>

mathematical_implication_diagram-neu

output.svg.txt

<svg xmlns="http://www.w3.org/2000/svg" width="28.58cm" height="13.83cm" font-size="22" viewBox="-20 -33 1080 522.8">
 <marker id="a" orient="auto" overflow="visible">
  <path fill-rule="evenodd" stroke="#000" stroke-linejoin="round" stroke-width=".5" d="M-4.381 2.4l1.386-2.54-1.204-2.63L.882-.005z"/>
 </marker>
 <g fill="none" stroke="#000" stroke-width="4" marker-end="url(#a)">
  <path d="M220 454.4h54.179M900.01 249.79l-.011 43.386M900 369.8v43.379M440 12.4v40.779M440 129.8v43.379M440 249.8v43.379M440 369.8v43.379M740 109.79l-135 90.003M280-10.3H100v423.48M600-10.3h140M600 214.79h135M740 19.786L605 79.788M740 349.8l-135 90.003"/>
 </g>
 <g fill="none" stroke="#000" stroke-width="4" marker-end="url(#a)">
  <path d="M900.01 37.8l-.011 15.353M900.01 129.79l-.012 43.386"/>
 </g>
</svg>

output

This is simmilar to #872

Coppyright

License: PD/CC0

Author:
Original: | StefanEckert | Vector: | Offnfopt

source: https://commons.wikimedia.org/wiki/File:Mathematical_implication_diagram-neu.svg

@TrySound
Copy link
Member

TrySound commented Mar 6, 2021

Fixed in v2.2.1

@TrySound TrySound closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants