You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/09/11 15:25:35 UTC

[Bug 53850] New: fop does not support some SVG

https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

          Priority: P2
            Bug ID: 53850
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: fop does not support some SVG
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: mathieu.malaterre@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.0
         Component: pdf
           Product: Fop

Created attachment 29352
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29352&action=edit
Input docbook

It seems fop 1.0 does not support some type of SVG. I am attaching one
particular such example. Clearly the raster image embedded (bottom center) has
disapear.

I am attaching the input docbook file, the input svg file and the generate fo
file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #2 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29354
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29354&action=edit
generated fo file

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #1 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29353
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29353&action=edit
input SVG file

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #7 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29363
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29363&action=edit
Chromium display

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #8 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29364
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29364&action=edit
inkscape display

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #4 from Mathieu Malaterre <ma...@gmail.com> ---
Created attachment 29362
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29362&action=edit
generated pdf file

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

Mathieu Malaterre <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #12 from Mathieu Malaterre <ma...@gmail.com> ---
(In reply to comment #11)
> (In reply to comment #9)
> > I agree FF does not display it properly. I do not have access to IE9.
> > However I have attached output from chromium and inkscape (I used inkscape
> > to generate this image actually). So yes definitely this SVG does not
> > diplsay as in inkscape view.
> 
> I persist in seeing no differences between *all* views (yours and mine) I
> can get,
> comprising your PDF and your Chrome.
> 
> Can you point exactly the difference between what you expect and what you
> get?

Ok I understand what is going on wrong now. Both xpdf and evince from my linux
station have a broken rendering engine. Opening the file from acrobat reader
works as expected. Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #10 from Mathieu Malaterre <ma...@gmail.com> ---
On linux one can also use to display the SVG:

$ rsvg-view autosynch.svg 

Works fine on my side with version 2.26.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

Pascal Sancho <ps...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #6 from Pascal Sancho <ps...@gmail.com> ---
I see no differences between inkscape view and produced PDF using FOP (1.0 and
trunk)
Tried too against IE9 and FF: same conclusion.

Diving into the svg file, it is hard to figure if something is wrong or not,
because of its size and its complexity.
So, from what I can see, the provided test case works as expected for me.

Feel free to reopen if the issue persists on your side, but please, provide
simpler test case (both XSL-FO and SVG) to point easily what is wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Glenn Adams <ga...@apache.org> ---
(In reply to comment #0)
> Created attachment 29352 [details]
> Input docbook
> 
> It seems fop 1.0 does not support some type of SVG. I am attaching one
> particular such example. Clearly the raster image embedded (bottom center)
> has disapear.

Please be more specific than "some type of SVG".

> 
> I am attaching the input docbook file, the input svg file and the generate
> fo file.

In the future, please do not attach docbook files. The canonical input to FOP
is an XSL-FO (FO) file, the canonical output is PDF. So do include an FO and
PDF file. You have included the FO file, but not a PDF output.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

Mathieu Malaterre <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #9 from Mathieu Malaterre <ma...@gmail.com> ---
(In reply to comment #6)
> I see no differences between inkscape view and produced PDF using FOP (1.0
> and trunk)
> Tried too against IE9 and FF: same conclusion.

I agree FF does not display it properly. I do not have access to IE9. However I
have attached output from chromium and inkscape (I used inkscape to generate
this image actually). So yes definitely this SVG does not diplsay as in
inkscape view.

> Diving into the svg file, it is hard to figure if something is wrong or not,
> because of its size and its complexity.
> So, from what I can see, the provided test case works as expected for me.
> 
> Feel free to reopen if the issue persists on your side, but please, provide
> simpler test case (both XSL-FO and SVG) to point easily what is wrong.

Let's start by re-opening this issue. And then if you could comment out what
you think the error can be going from I can reduce the test case. Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

Pascal Sancho <ps...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #11 from Pascal Sancho <ps...@gmail.com> ---
(In reply to comment #9)
> I agree FF does not display it properly. I do not have access to IE9.
> However I have attached output from chromium and inkscape (I used inkscape
> to generate this image actually). So yes definitely this SVG does not
> diplsay as in inkscape view.

I persist in seeing no differences between *all* views (yours and mine) I can
get,
comprising your PDF and your Chrome.

Can you point exactly the difference between what you expect and what you get?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53850] fop does not support some SVG

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53850

--- Comment #5 from Mathieu Malaterre <ma...@gmail.com> ---
(In reply to comment #3)
> (In reply to comment #0)
> > Created attachment 29352 [details]
> > Input docbook
> > 
> > It seems fop 1.0 does not support some type of SVG. I am attaching one
> > particular such example. Clearly the raster image embedded (bottom center)
> > has disapear.
> 
> Please be more specific than "some type of SVG".

If only I knew... I believe that this one is failing because the internal PNG
file is actually embedded (as mime64 within the SVG). But again this is a pure
guess.

> > 
> > I am attaching the input docbook file, the input svg file and the generate
> > fo file.
> 
> In the future, please do not attach docbook files. The canonical input to
> FOP is an XSL-FO (FO) file, the canonical output is PDF. So do include an FO
> and PDF file. You have included the FO file, but not a PDF output.

Done.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.