joe.fusco
-
Posts
3 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by joe.fusco
-
-
I am trying to get a custom font to render on the server. I followed the steps to add a font extension from within Report Studio, and the font works fine there. When deploying the report to the server, it doesn't render the custom font. Here are a few things I've tried so far:
1. Manually deploy the font to the server. I tried both "Add Resource -> Font", and uploaded the .ttf file, as well as "Add Resource -> JAR" and uploaded the exported .jar from the Font Extension. Didn't work.
2. Manually deploy the font extension jar to the server. I tried putting this in several different directories within the JasperServer directory, but none of them worked.
3. I followed the steps here: http://stackoverflow.com/questions/11017223/how-to-embed-font-courier-new-in-jasperserver to modify the jasperreports-fonts-6.0.0.jar with the new font .ttf files, as well as the modification to the fonts.xml file. Also did not work.
Anyone have any other things to try? The above steps are all I could find as far as custom fonts in server.
Thanks for any help in advance!
-
I am just getting started with JasperReports Community Edition. I am looking to embed a report into a PHP web application. I have the report working in JasperServer 5.6.1, and I've installed the PHP rest client through composer, running version 2.0.0. I followed the steps on this documentation: https://community.jaspersoft.com/wiki/php-client-sample-code
This request I keep throwing an error requiring 'authentication'. I've checked, and the user/password I am using is active in my JasperServer (just using the default jasperadmin/jasperadmin. The PHP client is getting loaded properly. I am just issuing a serverInfo() request, and it throws the 401 response. I've noticed that there are many questions out there about this issue, but none of them appear to be solved. Anyone know how to get over this hump?
Since this is a test environment, the web application and JasperServer are both running on the same box. I've picked up that Visualize.js is not available to community edition, but no where in the documentation I have read has it suggested that the PHP rest client is limited to the pro edition. Is that the case?
Any thoughts?
JasperServer 6.0.1 custom font
in Products
Posted
Thanks for the suggestion hozawa. I tried putting the jar file in tomcatlib, and webappsjasperserverWEB-INFlib, has hozawa suggested. After a tomcat restart, putting the jar in either of these locations didn't get the font picked up.
Any other thoughts?
Thanks!