From 388dea79663719cd159de3093c3e626f25e935d4 Mon Sep 17 00:00:00 2001 From: Melloware Date: Tue, 29 Oct 2024 10:01:58 -0400 Subject: [PATCH] Fix #151: Register fonts at Jasper recommended fonts directory (#153) --- .../jasperreports/deployment/JasperReportsProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java b/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java index 43a5a3b..c0674c1 100644 --- a/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java +++ b/deployment/src/main/java/io/quarkiverse/jasperreports/deployment/JasperReportsProcessor.java @@ -401,6 +401,7 @@ void registerJasperReportsProxies(CombinedIndexBuildItem combinedIndex, void registerFonts(BuildProducer nativeImageResourcePatterns) { final NativeImageResourcePatternsBuildItem.Builder builder = NativeImageResourcePatternsBuildItem.builder(); builder.includeGlob("**/fonts/dejavu/**"); + builder.includeGlob("fonts/**"); nativeImageResourcePatterns.produce(builder.build()); }