Hello,

We are using the "com.lowagie.text.Font" in our program and now we have
updated the program with the new iText version as "com.itextpdf.text.Font"
and got the error message as below

PDFDocumentHelper.java:110: cannot find symbol
symbol  : variable HELVETICA
location: class com.itextpdf.text.Font
                        valueFont = new Font(Font.HELVETICA, 12, Font.BOLD);
                                                ^
PDFDocumentHelper.java:110: cannot find symbol
symbol  : variable HELVETICA
location: class com.itextpdf.text.Font
                        valueFont = new Font(Font.HELVETICA, 12, Font.BOLD);
                                                 ^
PDFDocumentHelper.java:119: cannot find symbol
symbol  : constructor Font(int,float,int)
location: class com.itextpdf.text.Font
                font = new Font(fontName, fontSize, fontStyle);
                       ^
Could you please help me to replace the old version of Font with the new
version of Font.

Thanks,
Bipin
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to