-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Need APIs to access Acroform resources (Acroform->DR) #106
Comments
Thank you @panneer the form class has an accessor to the dictionary resource via const dr = form.DR This returns a NoPoDoFo.Dictionary. Do you have an example of this not working for you? I understand the use case around getting fonts from this resource, I will look into this, but in the interim please try the |
I initially tried form.DR accessor to get the info about the font details and it works. Thanks Still for my requirement, I need to get the Acroform->DR defined font as NFont object, so that I can assign this font in painter instance when creating appearance stream for the value. For example, Basic idea is to use the field DA defined font for the field values. > Do you have an example of this not working for you? > I understand the use case around getting fonts from this resource, I will look into this > but in the interim please try the DR property of the Form class. Thanks a lot in advance and wish you nice day |
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
The text was updated successfully, but these errors were encountered: