Jump to content
Changes to the Jaspersoft community edition download ×

Defect id:0002712: Load PDF font map from XML file


kingananth007

Recommended Posts

Hi ,

 I peeped into this following link: (obsolete link deleted)

and found that there is an option to load Report-Font from XML and it can be set in JRExporterParameter.FONT_MAP_FILE_NAME. And there is a comment from teodar saying that it has been fixed in JR 3.1.3 release.

I went through the Jasper Source of JR 3.1.3 and JR 3.5.0 and found out that there is no entry for "FONT_MAP_FILE_NAME" in JRExportParameter class.

Can any body advice me that this option is there in Jasper or not ?

Thanks in advance

-Ananth-

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Hi Lucian,

Thanks for your reply.

I went through the FontMapDigester.zip attached by teodar

You mean to say i can pass the XML file with font entries to FONT_MAP parameter directly ? or after parsing externally using the sample FontMapDigester.java and then pass that to FONT_MAP Parameter ?

Because i couldn't find any related files that parses XML file for font inside the source of Jasper and pass it as a parameter.

Can you advice me on this?

Regards,

Ananth

 

 

 

Link to comment
Share on other sites

The font extensions support in JR 3.1.3 does not use the FONT_MAP export parameter.

The demo/samples/fonts sample uses jasperreports_extensions.properties to register a fonts extensions that reads fonts from the gentium/fonts.xml file.

Regards,

Lucian

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...