tringuyen (1) [Avatar] Offline
#1
Hi everybody,

I converted output of jsp to pdf. But I have faced following problem:
- Font displays in pdf file is Times New Romna. I need Arial font.
- Alignment in all columns of table in pdf are left. I need one of those columns is right (data about quantity of items) as in result html of jsp.

Thank you very much for your help.
blowagie (284) [Avatar] Offline
#2
Re: font and alignment in converting output of jsp to pdf
I have a driver's permission, but when I try driving my car, it doesn't work.
What am I doing wrong?

You can't answer that question because:
(1) I'm asking it on the wrong forum, and
(2) I'm not giving you sufficient information.

Please post this question on the iText mailing list AND specify.
Because Helvetica is the default font, so if Times Roman is shown,
you're definitely having a reference to Times Roman somewhere.

Moreover 'output of jsp' can be anything: it can be PDF, it can be HTML,
it can be plain text. I assume it's HTML (but then why don't you say so???),
but I can't guess how you are converting it to PDF:
Using Flying Saucer and iText? Using HtmlParser? Using HTMLWorker?

This is a typical "How deep is blue?" question.
http://itext.ugent.be/library/question.php?id=42
blowagie (284) [Avatar] Offline
#3
Re: font and alignment in converting output of jsp to pdf
"Hi everybody"

BTW: I am the only person answering questions on this forum.
PLEASE TAKE MY ADVICE and post questions to the mailing list,
where there are plenty of other people answering questions too.