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:[EMAIL 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions