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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to