Jump to content
We've recently updated our Privacy Statement, available here ×

zbigniew.nitecki

Members
  • Posts

    6
  • Joined

  • Last visited

Community Answers

  1. zbigniew.nitecki's post in JRXML file looks fine in Jaspersoft Studio and JasperViewer, looks terrible as PDF was marked as the answer   
    I have solved the problem with exporting from the Jaspersoft Studio by adding the font path in Window->Preferences->Fonts. The problem with Java-side was simple to solve, I have found out that I have to select used fonts from Window-Preferences-Fonts and export them as a Jar (as fonts.jar), and add them to my classpath.
    I am using Gradle so i have created a libs directory in the root folder of the project, and the configuration looks like this:
    build.gradle:
    dependencies { ... compile files('libs/fonts.jar') ...}[/code] 
×
×
  • Create New...