Closed
Bug 1802888
Opened 2 years ago
Closed 2 years ago
Wrong computed values in pdf form
Categories
(Firefox :: PDF Viewer, defect, P1)
Firefox
PDF Viewer
Tracking
()
RESOLVED
FIXED
109 Branch
People
(Reporter: calixte, Assigned: calixte)
References
Details
Attachments
(3 files)
Steps to reproduce the problem:
- Open the pdf
- Enter 20 in the score field for Dexterity
The total values in Armor Class section are wrong: they should be 15, 15 and 23 when they're 5010, 150 and 158.
The values used to compute the total are concatenated because one of the field used to compute the sum has a string value.
The field type are guessed thanks to the action they've and then when the value is set we convert it into a number.
But here, the Misc Mod field doesn't give any hint that the expected value is a number so it must infer from the value itself!
In the same pdf, the values in the Carrying Capacity (page 2) are wrong (4, 5, 10) compared to the ones we've in Acrobat (5, 6, 11): it's due to a rounding issue in util.printf
.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•