SVG:Inkscape 箭头标记在缩放后消失

SVG: Inkscape arrowhead marker disappering after zoom

我正在绘制带有箭头标记的 SVG 线,一切看起来都不错,但在 Inkscape 中,部分箭头在缩放后消失了。您知道问题出在我的标记代码中还是 Inkscape 错误? 加法:线条在有旋转变换的组中。

before zoom

after zoom

<marker refX="0px" 
        refY="0px" 
        orient="0" 
        overflow="visible" 
        markerWidth="7.972439" 
        markerHeight="2.65748" 
        id="arrow_right" 
        xml:space="default">
   <path d="M7.972439 0 L-3.98622 2.65748 L-3.98622 -2.65748 L7.972439 0 z"
         stroke="#FFFFFF" 
         stroke-width="0" 
         stroke-opacity="0" 
         style="fill:#000000;"
         xml:space="default" />
</marker>

终于找到解决办法了。这是由于行元素中缺少样式引起的。 该行必须将 "fill" 定义为 "none",并将 "fill-rule" 设置为 "evenOdd"。

fill="none"
fill-rule="evenOdd"