Closed Bug 1669099 Opened 4 years ago Closed 4 years ago

[Omnibox Experiment] Checked checkboxes shown as numbers

Categories

(Firefox :: PDF Viewer, defect)

Firefox 81
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: 5i13ghzt462u, Assigned: calixte)

References

(Blocks 1 open bug)

Details

(Whiteboard: [pdfjs-c-forms])

Attachments

(4 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

  1. Go to https://cccsbg.at/about/Mitgliedsformular.pdf
  2. Click some checkboxes.
  3. Print.

Actual results:

The preview of the checkbox shown is fine.
But in the print preview and when printed, the cross is somehow disturbed and prints a number instead.

See knut-checkbox-error.pdf

Expected results:

Always show the checkbox as a cross.


Tested under Fedora 32 with the official Mozilla Firefox flatpak. about:support data: https://gist.github.com/rugk/a6ae56defc34b24bba1d7f89eb085327
New profile, I'm in the treatment group.

The "=" at the bottom of the PDF file are emojis that also have a print problem. I've filled this as Bug 1669097 however.
Also see comment 4 at that bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1669097#c4) for a different display of checkboxes as filled rectangles

Other error, I'm not sure whether this is a bug or intended:

  • as you can see in the screenshot Firefox still displays me an error bar at the top about a potential incorrect display of the PDF file
Blocks: 1666612
Component: Untriaged → PDF Viewer
Attached image PositiveExampleHSV
Attached file PositiveExampleHSV.pdf

Notice there are also positive examples. https://www.hsv-golf.de/images/files/Mitgliedsformular_HSV-GOLF-2019.pdf e.g. prints the checkboxes well. (see the attached files PositiveExample*)

This pdf is ill-formatted since the streams to render checkboxes don't contain correct font info.
For example for the first one, the appearance (DA) is:
"/ 12.00000 Tf 0.09226 0.09003 0.08394 rg\n"
and in appearance to render checked box (AP::N::Yes) it's the same.
It's expected to have a font name after the slash.
I guess that in such situation (for checkboxes and radio buttons) we could try to fallback on Zapf fonts.

Assignee: nobody → cdenizet
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S2
Whiteboard: [pdfjs-c-forms]
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: