Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7738253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:13:00+00:00 2026-06-01T08:13:00+00:00

I recently updated jasperreport version from 3.5.2 to 4.0.2 and noticed a few changes

  • 0

I recently updated jasperreport version from 3.5.2 to 4.0.2 and noticed a few changes about font management.

I now use the Font Extension mechanism described here.

Until now, we had to set a PDF font in iReport to specify the font to use. This is now replaced by the font extension mechanism for all new templates.

My question is about retro-compatibility, is there a way to produce the expected output with old templates with having to change all the PDF font option to a Familly-font ? In all my tests so far I could only get Arial which is the font set as default in jeasper properties.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:13:01+00:00Added an answer on June 1, 2026 at 8:13 am

    Basically two things need to be verified:

    1. That the required fonts are present in the classpath
    2. That The template declares the font to use in the adapted way.

    Templates prior 4.0 use the pdfFont field to specify the font to use. One alias was created for each variant (normal, bold, italic, bolditalic) matching a specific font.

    Recent (>= 4.0) tempalte use the font name field. Variant can be enabled using the italic/bold checkboxes in iReport if the fonts support those modifiers. This field was not used in PDF rendering in jasperreport prior 4.0.

    When migrating old templates, each field having a pdfFont set should be changed into a combinaison of font name + modifiers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently updated my Internet Explorer version from 8 to 9. Now, I'm getting
Recently updated Twisted from 11 to 12 version. Discovered that the twisted.enterprise.util module no
I recently updated from mathematica 7.0 to 8.0, and have now encountered problem with
I recently updated the SwingX library in an application from version 1.0 to 1.6.2
I recently updated my website to the latest version of Wordpress (3.1) and noticed
Hi I recently updated the java version on my mac to 1.6.0_29 and now
I've recently updated from HTMLUnit 2.4 to 2.5 (we'd go for the latest version
I recently updated to the new version of XCode and the session start code
I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click
I recently updated an application from VS2003 to VS2008 and I knew I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.