Jiri Ondrusek created FOP-2967:
----------------------------------
Summary: Quarkus support of FOP
Key: FOP-2967
URL: https://issues.apache.org/jira/browse/FOP-2967
Project: FOP
Issue Type: Improvement
Reporter: Jiri Ondrusek
I tried to create camel-quarkus extension for fop (see
[https://github.com/apache/camel-quarkus/issues/1642])
I was not able to finish it successfully as I was facing issues with fonts:
{quote}Error: No instances of sun.nio.ch.FileChannelImpl are allowed in the
image heap as this class should be initialized at image runtime. Object has
been initialized without the native-image initialization instrumentation and
the stack trace can't be tracked.
Trace: Object was reached by
reading field sun.font.TrueTypeFont$TTDisposerRecord.channel of
constant sun.font.TrueTypeFont$TTDisposerRecord@2c7b7d19 reached by
reading field java.util.Hashtable$Entry.value of
constant java.util.Hashtable$Entry@66aeea4 reached by
indexing into array
constant java.util.Hashtable$Entry[]@7be2410f reached by
reading field java.util.Hashtable.table of
constant java.util.Hashtable@33cc3b6c reached by
scanning method sun.java2d.Disposer.addObjectRecord(Disposer.java:250)
{quote}
I spent some time with debugging of the fop and I discovered that fonts are
inseparable part of some rendering. Which makes it impossible to "avoid".
I'm not sure how this could be solved. But it would be nice to have support for
quarkus.
(I can imagine that for example only some features could be supported in
quarkus)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)