[Archivesspace_Users_Group] Jasper Reports error?

Galligan, Patrick PGalligan at rockarch.org
Fri Nov 20 10:36:13 EST 2015


We're running AS on CentOS, and installed the Arial fonts to get the Jasper Reports working. I just noticed that those three reports on the bottom of the page were the originally three included and not actually Jasper. There are no spaces in the full path to the AS directory.

Changed the config settings to sans-serif only and still getting the same error. Do we need to make sure that a specific font family is installed on the machine?

Patrick Galligan
Rockefeller Archive Center
Assistant Digital Archivist

From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Brian Hoffman
Sent: Friday, November 20, 2015 10:19 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Jasper Reports error?

Hi Patrick,

This looks like a font access problem (the app is having trouble accessing the font it wants). Also, this is actually not a Jasper report, just a regular report. Are you on a Windows machine, and are there any spaces in the full path to your archivesspace directory?

What happens if you add this to your config.rb file and restart?

AppConfig[:report_pdf_font_family] = "sans-serif"


On Nov 20, 2015, at 9:02 AM, Galligan, Patrick <PGalligan at rockarch.org<mailto:PGalligan at rockarch.org>> wrote:

org.xhtmlrenderer.swing.NaiveUserAgent.getBinaryResource(org/xhtmlrenderer/swing/NaiveUserAgent.java:228) org.xhtmlrenderer.pdf.ITextFontResolver.importFontFaces(org/xhtmlrenderer/pdf/ITextFontResolver.java:97)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20151120/13f735c6/attachment.html>

More information about the Archivesspace_Users_Group mailing list