Closed Bug 1802888 Opened 1 year ago Closed 1 year ago

Wrong computed values in pdf form

Categories

(Firefox :: PDF Viewer, defect, P1)

defect

Tracking

()

RESOLVED FIXED
109 Branch

People

(Reporter: calixte, Assigned: calixte)

References

Details

Attachments

(3 files)

Steps to reproduce the problem:

  1. Open the pdf
  2. 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.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: