Hello sir,

 I got the TextField Fontreference name by following line of code

                        PdfObject da = dict.get(PdfName.DA);
                        System.out.println("object  "+da);
                        StringTokenizer st = new
StringTokenizer(da.toString(), " ");
                        String fontRef = st.nextToken();

                        PdfName fontRefName = new
PdfName(PdfName.decodeName(fontRef));

I got /Cour as a output...

by this I got the Font reference so how can I get the Font name?
e.g. /Cour I get COURIER


Thanks & regards
-- 
*Anand Khatri*
Software Developer

ZEITECH Solutions,
Ahmedabad.
Ph  : *+91 8000008071**
<http://www.intecllc.com/>*
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
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