[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-dev
Subject: [jira] [Commented] (FOP-3070) Remove example SVG file using external links
From: "Fret Net (Jira)" <jira () apache ! org>
Date: 2022-09-27 1:31:00
Message-ID: JIRA.13445038.1652661406000.337027.1664242260012 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/FOP-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609772#comment-17609772 \
]
Fret Net commented on FOP-3070:
-------------------------------
Rather than remove the example, is it possible to enable the functionality of the \
example? It would be useful if fop could load external SVG files.
> Remove example SVG file using external links
> --------------------------------------------
>
> Key: FOP-3070
> URL: https://issues.apache.org/jira/browse/FOP-3070
> Project: FOP
> Issue Type: Bug
> Components: foreign/svg, image/svg
> Affects Versions: 2.5, 2.2, 2.3, 2.4, 2.6, 2.7
> Environment: The file was processed using the fop CLI in both Ubuntu 20.04 (+ \
> OpenJDK 11) and Windows 10 (+OpenJDK 18) with similar results.
> Reporter: Asitha
> Assignee: Simon Steiner
> Priority: Critical
> Fix For: trunk
>
>
> FOP fails to render SVG files provided as external links. The following error is \
> returned where I ran the provided example file in examples/svg/external.fo \
> {quote}SEVERE: SVG error: The file format is not supported. No ImagePreloader found \
> for \
> file:/home/asitha/Downloads/fop-2.7/fop/examples/fo/svg/boxes.svg
> org.apache.xmlgraphics.image.loader.ImageException: The file format is not \
> supported. No ImagePreloader found for \
> file:/home/asitha/Downloads/fop-2.7/fop/examples/fo/svg/boxes.svg at \
> org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:181)
> at org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:127)
> at org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123)
> at org.apache.fop.svg.AbstractFOPImageElementBridge.createImageGraphicsNode(AbstractFOPImageElementBridge.java:78)
> {quote}
> Command:
> ./fop examples/fo/svg/external.fo temp.pdf
> The same command works without any issues in version 2.1, 2.0, and 1.1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic