[cairo-bugs] [Bug 91837] New: Problem rendering svg file that contains file path network

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 1 06:21:30 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91837

            Bug ID: 91837
           Summary: Problem rendering svg file that contains file path
                    network
           Product: cairo
           Version: unspecified
          Hardware: All
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: svg backend
          Assignee: emmanuel.pacaud at lapp.in2p3.fr
          Reporter: cherubino.ferrario at gmail.com
        QA Contact: cairo-bugs at cairographics.org

Hello to all,

i use rsvg_handle_new_from_file function from librsvg-2-2.dll for render the
following svg file:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="4160"
height="2110" preserveAspectRatio="xMinYMin slice" viewBox="0 0 4160 2110">
          <g id="viewBox_0">
            <defs>
              <rect id="viewBox_0_zone" x="0" y="0" width="2080"
height="2110"/>
            </defs>
            <clipPath id="viewBox_0_clipPath">
              <use xlink:href="#viewBox_0_zone"/>
            </clipPath>
          </g>
          <g id="viewBox_1">
            <defs>
              <rect id="viewBox_1_zone" x="2080" y="0" width="2080"
height="2110"/>
            </defs>
            <clipPath id="viewBox_1_clipPath">
              <use xlink:href="#viewBox_1_zone"/>
            </clipPath>
          </g>
          <g id="background_0" transform="matrix(1 0 0 1 0 0)">
            <defs>
              <rect id="background_0_zone" x="0" y="0" width="4160"
height="2110"/>
            </defs>
            <clipPath id="background_0_clipPath">
              <use xlink:href="#background_0_zone" overflow="visible"/>
            </clipPath>
            <rect id="background_background" width="4160" height="2110"
fill="#ffffff" fill-opacity="1"/>
          </g>
          <g>
            <g id="image_0" transform="matrix(1 0 0 1 0 0)">
              <defs>
                <filter id="white">
                  <feColorMatrix in="SourceGraphic" type="matrix" values="1 0 0
0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 0" result="to_white"/>
                </filter>
                <rect id="image_0_zone" x="0" y="0" width="4160"
height="2110"/>
              </defs>
              <clipPath id="image_0_clipPath">
                <use id="image_0_clipPathUse" xlink:href="#image_0_zone"/>
              </clipPath>
              <rect id="image_0_background" width="4160" height="2110"
fill="#ffffff" fill-opacity="0"/>
              <filter id="image_0_filter">
                <feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1
0 0 0 0 0 1 0"/>
                <feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1
0 0 0 0 0 1 0"/>
              </filter>
              <g id="image_0_groupImage" clip-path="url(#image_0_clipPath)"
filter="url(#image_0_filter)">
                <image id="image_0_image"
xlink:href="file://fabrirevenge/CDPRODIG/Monviso.jpg" width="3664"
height="2748" transform="matrix(1.1353711790393013 0 0 1.1356297093649086
2.842170943040401e-14 -504.21959095801947)"/>
              </g>
              <rect id="image_0_border" fill="none" stroke="none"
stroke-width="0" style="shape-rendering:crips-edges;" x="0" y="0" width="4160"
height="2110"/>
            </g>
          </g>
        </svg>

In this file there are the following path: 
xlink:href="file://fabrirevenge/CDPRODIG/Monviso.jpg" 
that is a network path.

The result is a blank image.

If I use the local path everything works correctly.

The library librsvg does not support network paths?

Thanks for your help.

Best regards

Chherubino

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150901/b8918c39/attachment.html>


More information about the cairo-bugs mailing list