Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27181

    Hello,

    we have a problem when we try to convert html code which contains SVG images. For some images (apparently those that use a clip-path), the following content is rendered incorrectly (seems to be mirrored vertically). One example that causes the headline to be rendered incorrectly is the following html code:

    <html>
    <body>
    <svg
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    version="1.1"
    width="59.4"
    viewBox="0 0 59.4 57.9"
    height="57.9"
    >
    <g>
    <clipPath
    id="SVGID_10_">
    <path
    d="M.6 29.4h58.1v26.9H.6z" />
    </clipPath>
    <path
    clip-path="url(#SVGID_10_)"
    d="M10.4 30s-9.3 0-9.3 9.3v7.3s0 9.3 9.3 9.3h38.5s9.3 0 9.3-9.3v-7.3s0-9.3-9.3-9.3H10.4z"        />
    </g>
    </svg>
    
    <h1>Headline</h1>
    </body>
    </html>

    This looks like a bug in pd4ml. Please let me know if there is something else you need from us.

    Thank you and regards,
    Christoph

    #30129

    PD4ML implements SVG support with some limitations. However your sample seems to be quite basic. We’ll address the issue this week.

    #30130

    Thank you!

    #30131

    The issue has been already fixed in the DEV build.

    Please contact support pd4ml com if you would like to test.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.