Hey @corymickelson
I first thank you for your great work (nopodofo).
I need a feature to access the acroform defined resources (Acroform->DR). Could you tell me whether you have a plan for this feature in your road map and when I could expect it?
I could not share the PDF sample for privacy reasons.
My actual use case
PDF is defined
- With a Acroform dictionary as shown below
/CO: Array
/DA: /QuickPDFF6af2e376 0 Tf 0 0 0 rg
/DR: Dictionary
/Encoding: Dictionary
/Font: Dictionary
/Helv: 88 0 R
/QuickPDFF6af2e376: 158 0 R
/ZaDb: 89 0 R
- With a form field as shown below
/DA: /QuickPDFF6af2e376 11 Tf 0 0 0 rg
/F: 4
/FT: /Tx
/Ff: 8388608
/P: 95 0 R
/Q: 0
/Rect: Array
/Subtype: /Widget
/T: F4260
/TU:
/Type: /Annot
/V:
I would like to add value to this form field (with appropriate appearance dictionary)
I followed this reference (https://corymickelson.github.io/NoPoDoFo/documentation/cookbook/ap.html) for adding appearance stream
When adding the appearance stream for field, I don't want to create a new font for field value.
Instead, I wish to get 'QuickPDFF6af2e376' font from Acroform->DR. Like the font accessing APIs defined in Document object
getFont(name: string): Font
listFonts(): { id: string, name: string }[]
I am not sure whether nopodofo already has functionality to achieve my requirement.
Please give me some advise to meet my requirement
Thanks a lot in advance
Hey @corymickelson
I first thank you for your great work (nopodofo).
I need a feature to access the acroform defined resources (Acroform->DR). Could you tell me whether you have a plan for this feature in your road map and when I could expect it?
I could not share the PDF sample for privacy reasons.
My actual use case
PDF is defined
When adding the appearance stream for field, I don't want to create a new font for field value.
Instead, I wish to get 'QuickPDFF6af2e376' font from Acroform->DR. Like the font accessing APIs defined in Document object
I am not sure whether nopodofo already has functionality to achieve my requirement.
Please give me some advise to meet my requirement
Thanks a lot in advance