Issue with underline and line-through in text decoration while converting svg to pdf
Posted: 2019-06-25T04:39:29-07:00
Hi,
I am using Windows Binary Release dll: Magick.NET-Q16-x64, Version=7.14.0.0
OS: windows 10
Converted pdf file does not contain the text decoration as specified in svg. Although atlast a bit dash is visible, as if its removed over the alphabets and present at last. For better understatnding , attaching the pdf screenshot screenshot=> https://ibb.co/hgfx1Rh
Is there some specific MagickSettings which i need to set or something other which i might be missing? Apart from this anomaly, conversion happens smoothly.
Thanks.
I am using Windows Binary Release dll: Magick.NET-Q16-x64, Version=7.14.0.0
OS: windows 10
Converted pdf file does not contain the text decoration as specified in svg. Although atlast a bit dash is visible, as if its removed over the alphabets and present at last. For better understatnding , attaching the pdf screenshot screenshot=> https://ibb.co/hgfx1Rh
Is there some specific MagickSettings which i need to set or something other which i might be missing? Apart from this anomaly, conversion happens smoothly.
Code: Select all
<g style="display: block;fill-opacity: 1;" clip-path="url("#PCC3")" transform="matrix(1 0 0 1 327.551 180.702)" data-pcc-mark="textmark-13">
<clipPath id="PCC3" clipPathUnits="userSpaceOnUse">
<rect x="0" y="0" width="116.789" height="50.1896" data-pcc-mark="textmark-13" />
</clipPath>
<g />
<text font-family="Arial" font-size="12" font-style="normal" font-weight="normal" text-decoration="underline line-through" style="font-family: Arial; font-size: 12px; opacity: 1;fill-opacity: 1;" fill="rgba(255, 0, 0, 1)" text-anchor="start" x="2" y="12" data-pcc-mark="textmark-13" width="116.78907103825133" height="50.18961748633882">
<tspan x="2">The name is bond, </tspan>
<tspan x="2" dy="12">james bond</tspan>
</text>
</g>
Thanks.