  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Extracting Font from Acrofields | Extracting Font from Acrofields 2006-08-08 - By Leonard Rosenthol
Back At 12:14 PM 8/8/2006, Abhishek Srivastava wrote: >I have finally managed to extract the fonts from the acrofields. I >am extracting the fonts for /RV (rich text fields) and /AP (non rich >text fields) keys. >
Excellent - congrats!
>I have a total of 17 AcroFields in my AcroForm, however by >extracting Fonts for /RV and /AP I get only 8 fields.
Are you checking for ONLY text fields? Remember that non-text fields don't have to have fonts assigned to them - and certainly won't have an /RV.
>I checked the properties and many Acrofields are not having /RV or >/AP in them.
Although the PDF Ref recommends that fields have /AP, it's not required. In which case, it falls back to the /DA of it's parent (and so on back to the root /AcroForm).
>According to my understanding all rich fields should have /RV
Correct.
>and non rich fields should have /AP and these 2 should be sufficient >to extract all fonts?
See above...
And for the Nth time - READ THE PDF REFERENCE!
Leonard
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Leonard Rosenthol <mailto:leonardr@(protected)> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-938-7080 (voice) 215-938-0880 (fax)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|
 |