Hello,
I have a printing problem with JasperReports and Leopard. On
jasperforge someone had the same problem but didn't get an answer, so
I'm asking here.
Basically, when printing under Leopard via Jasper all characters are
printed in LucidaGrande at about 12pt, no matter what I define in the
report definition.
I am running Java 1.5.0_13 on an MacBook 2.16 GHz Intel Core 2 Duo
under a German Mac OS X 10.5.1. I have reason to believe this behavior
might be present in Java 1.6.0_01-dp as well.
These are my observations:
- printing under Windows XP works correctly: fonts and sizes can be
defined
- printing under Tiger works
- printing directly via java.awt.print.PrintJob without JasperReports
works
- alignment works
- all characters are at their correct positions, they are just too
big/small. If I define 8pt, characters overlap each other. An 8pt
string is shorter than a 12pt string, as expected
- directly requesting LucidaGrande does not change the font size
problem (all are still about 12pt)
- the problem occurs when actually printing and creating a preview
from within the print dialog
- if I don't print via Jasper using JasperPrintManager.printReport()
but directly create a PDF via
JasperExportManager.exportReportToPdfFile() I gt a perfectly shaped PDF.
- it happens with JasperReports 1.3.1 and 2.0.3
I tried to debug but the program soon disappeared in
apple.awt.CPrinterJob.
Has anybody similar experiences and maybe a workaround?
Kind regards,
Bernd Gründling
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden