[
https://issues.apache.org/jira/browse/FOP-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804920#comment-15804920
]
Alexander commented on FOP-2675:
--------------------------------
I tried it with JDK 1.8.0_111 on the Windows-Machine and the problem still
exists:
...fop-2.1>javac -cp build\fop.jar;lib\*;. Main.java
...fop-2.1>javac -version
javac 1.8.0_111
...fop-2.1>java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
...fop-2.1>java -cp build\fop.jar;lib\*;. Main
Jan 06, 2017 5:25:49 PM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "Verdana,normal,400" not found. Substituting with "any,normal,400"
.
Jan 06, 2017 5:25:49 PM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "Arial,normal,400" not found. Substituting with "any,normal,400".
Jan 06, 2017 5:25:49 PM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Content overflows the viewport of an fo:block-container in inline-progr
ession direction by 85039 millipoints. (See position 34:76)
Jan 06, 2017 5:25:51 PM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #1.
...
> SVG in PDF prevents program from terminating
> --------------------------------------------
>
> Key: FOP-2675
> URL: https://issues.apache.org/jira/browse/FOP-2675
> Project: FOP
> Issue Type: Bug
> Components: image/svg, renderer/pdf
> Affects Versions: 2.0, 2.1
> Environment: Windows 7/Java 7+8
> Reporter: Alexander
> Attachments: Main.java, fop.xconf, input.fo, jstack.txt
>
>
> When using a instream-foreign-object to render a svg-text, fop renders the
> pdf correctly, but the program will not terminate after that.
> Using jstack I found 2 Threads with generic names (Thread 1 and Thread 3),
> which are still not finished, which causes the program to continue running.
> If I comment-out the svg-part of my input-file the program exits normally,
> which is why I believe the svg is the cause.
> I could recreate the issue with FOP 2.0 and 2.1 using Java 7 and Java 8.
> The issue sounds familiar to the point mentioned at
> https://xmlgraphics.apache.org/fop/faq.html#svghangs
> but since im using JDK 1.8 this should not be the problem here.
> I have attached the input-file, my program which uses fop embedded, the
> fop.xconf as well as the jstack output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)