You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/02/04 13:02:04 UTC

[GitHub] [camel-quarkus] jamesnetherton commented on issue #670: PDF itest fails in native mode on some platforms

jamesnetherton commented on issue #670: PDF itest fails in native mode on some platforms
URL: https://github.com/apache/camel-quarkus/issues/670#issuecomment-581899361
 
 
   From what I can see, the only reason it passes on the CI builds is because the native build is done in Docker and the `ubi-quarkus-native-image` has no fonts installed. Therefore, no font loading or caching is attempted. It always fails for me when building the native executable on the host, since I do (obviously) have fonts installed.
   
   Using `RuntimeInitializedClassBuildItem` for `PDType1Font` on its own will not work. There's a bunch of dependent stuff that would also need to be initialized at runtime. We could maybe investigate that.
   
   The real problem is that there is way too much stuff being done via static initializers (including in the PDF component. See class `Standard14Fonts`) 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services