Font in PDF

Just checking if we do understand this right...

JasperReports is able to use all  fonts available on the system and print them to a physical printer (or preview the report)

If the report has to be printed to a pdf, the usage of fonts is limited to only the fonts which are provided as a jasperreport font extension.

(This sounds weird to us as the developer now has to provide fonts in the jar which are already available on the system, also the legal aspect is a problem)
 

rinse's picture
273
Joined: Jul 12 2011 - 6:40am
Last seen: 8 months 1 week ago

2 Answers:

Yes, your understanding is correct.

hozawa's picture
171423
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Hi,

Working with font extensions is the recommended way to ensure that fonts will be available for generated documents (not only PDF) on any machine in any environment.

Anyway, in particular situations like this one, you still could make use of style attributes such as pdfFontName, pdfEncoding and pdfEmbedded.

I hope this helps,

Sanda

shertage's picture
18872
Joined: Sep 26 2006 - 8:06pm
Last seen: 9 months 2 weeks ago
Feedback