Sudheendra Singh wrote:
I agree TIMES_ROMAN is still there but TIMES_NEW_ROMAN is not there
... Previously we were using itext_rtf_writer.jar and it had
TIMES_NEW_ROMAN. Now we upgraded to use itext-1.2.jar but this one
does not have it.
I'm not familiar with itext_rtf_writer.jar.
No file with that name has been hosted at lowagie.com.
itext-1.2.jar is over six months old. Why not use iText1.3.1 ?
Anyway, to answer your question: more than 2 years ago
the constant Font.TIMES_NEW_ROMAN was eliminated
and replaced by Font.TIMES_ROMAN to match the actual
font used in PDF.
Are you generating PDF or RTF?
If you are generating PDF, just change the name and the
behaviour of your program will be identical as in the past
Times Roman was displayed even if you thought you were
using Times New Roman.
If you are generating RTF, a lot has changed in the past 2 years.
I suggest that you take a look at the tutorial:
http://itextdocs.lowagie.com/tutorial/rtf/
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions