Font in PDF

2

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
34
Joined: Jul 12 2011 - 6:40am
Last seen: 1 month 3 weeks ago

2 Answers:

1

Yes, your understanding is correct.

hozawa's picture
53152
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
1

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
1940
Joined: Sep 26 2006 - 8:06pm
Last seen: 2 days 16 hours ago
Feedback