Skip to content

Commit d80ea16

Browse files
sslavicphilwebb
authored andcommitted
Fix JasperReport tests to ignore missing fonts
Add 'jasperreports.properties' to ignore missing fonts in order that tests pass on Linux. The upgraded JasperReports 5.0.4 throws a JRFontNotFoundException when a report font is not found. This caused Spring MVC tests to fail since the example reports used the 'Arial' font which is not shipped with most Linux distributions. An alternative fix would have been to package fonts with the reports using JasperReports font extension support. Issue: SPR-10438
1 parent 761bd9f commit d80ea16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
net.sf.jasperreports.awt.ignore.missing.font=true

0 commit comments

Comments
 (0)