-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Parse the AcroForm
dictionary
#12226
Comments
Also, note that's a slightly misleading name and it really ought to be changed to |
I'm not sure to understand this issue... |
You're right that we now at least use the data for printing in contrast to before where we didn't use it at all. This issue is about using it for non-form rendering, so just as normal annotations. For printing we render the annotation onto the canvas, but for displaying we render an overlay element so e.g., text selection is possible. That code still doesn't work properly; look at pdf.js/src/display/annotation_layer.js Lines 489 to 497 in 7df8aa3
fontRefName .
|
Closing since this code is now replaced by working code and we use the default appearance properly. |
We don't really use this data now, but it could contain the default appearance for form elements. It seems like the current font code for text widgets is dead as
fontRefName
is never set, so we should parse this dictionary and extract the font information from it.The text was updated successfully, but these errors were encountered: