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 7186273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:35:51+00:00 2026-05-28T18:35:51+00:00

iReport Version : 3.7.1 I approached this problem in two ways. My first method

  • 0

iReport Version : 3.7.1

I approached this problem in two ways.

My first method

I am creating a pdf page in iReport and I have one of the fields (from database) set to a font Gujarati-Salarl (A font for a regional language of India).

This font is available in the font list of iReport.
When I hit preview I get the desired output , with the field in the required font style.

Everything till here is fine.

But the pdf file generated still contains the same original font in English characters.

The result is same whether i call the report from the application or from a JAVA file.

After a bit of study I found this , a second method

JRProperties.setProperty("net.sf.jasperreports.default.pdf.font.name", "C:\\Gujrati-Saral-1.ttf");

This sets the font of the pdf to the ttf font provided but now the entire pdf comes in the Guarati-saral font which is not what I am looking for..

Is there a way to specifically apply this font only to that one particular field?

or

when going by the second method is there a way to not applying the font Guarati-saral to all other fields except the required one ?

  • 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-05-28T18:35:52+00:00Added an answer on May 28, 2026 at 6:35 pm

    You should use the Font Extensions mechanism.

    After creating the font and exporting it as a jar file you should add generated jar file to the application classpath.

    a) Creating new font in iReport (via Options -> Fonts -> “Install Font” Button)

    Creating the new font descriptor in iReport

    b) Exporting the new font (or the existing one) as jar file in iReport (via Options -> Fonts -> “Export as extension” Button)

    enter image description here

    a) Creating new font in JasperReports Studio (via Window -> Preferences -> JasperStudio -> Fonts -> “Add” Button)

    b) Configure your fonts

    Exporting font as jar file

    c) Create JAR with your fonts in it

    Export Font Jar

    enter image description here

    You can find more information about using Font Extensions here.

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

Sidebar

Related Questions

I have this code private void writeReport(IReport report, string reportName) { string reportString =
I'm new in iReport and I have to create a PDF report. With a
I'm creating a JasperReport using iReport, and as such, I'm limited* to one SQL
I have some troubles with JasperReports. I generated a formular with iReport including two
I am having a problem in using a iReport. I have a general master
I need some help in creating report using iReport for this layout. I am
I am creating a report with IReports version 3.7.5 (currently we use this version).
I am trying to use external font in PDF document. I have no problem
Using ireport I know how to make input controls but I have one issue
We have configured iReport to generate the following graph: The real data points are

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.