JRExporterParameter.FONT_MAP

-1

I'm moving from jasper 3 to jasper 5.6.1. 

I used to do 

fontMap.put(new FontKey("Arial", true, false), new PdfFont("Helvetica-Bold", "Cp1252", false));
exporter.setParameter(JRExporterParameter.FONT_MAP, fontMap);

But the static field FONT_MAP no longer exists.

How do I do the same in the new jasper library.
Any help?

Regards. Mauro.

 
MauroFlores's picture
Joined: Jul 27 2006 - 2:59pm
Last seen: 5 years 1 month ago

I have the same problem

sergioszy_1 - 4 years 5 months ago

I have the same problem, too. is there any solution? i do not know how to replace font_map with font_extensions...it's a shame that there is not enough information about this....

bl_2 - 4 years 3 months ago

We still have jasperreports 4.6.0, we can't move to newer version because this problem.

 

 

sergioszy_1 - 4 years 3 months ago

0 Answers:

No answers yet
Feedback
randomness