Attach (recommended) or Link to PDF file here:
[Pdfjs bug.pdf](https://github.com/mozilla/pdf.js/files/7952983/Pdfjs.bug.pdf)

Configuration:
- Web browser and its version: Firefox 96.0.2 (64-bit)
- Operating system and its version: MacOS Big Sur
- PDF.js version: Latest v2.12.313
- Is a browser extension: N/A

Steps to reproduce the problem:
1. Open a pdf that has an input text field, 
2. Add some content to the input field
3. Try to print it, notice that the font size of the content added to the input fields is much bigger on the print preview, in many cases being cut from the printed version.

What is the expected behavior? (add screenshot)
All the content added to the input field should be printed in a very similar way to the one being displayed during the edition.

What went wrong? (add screenshot)
Much bigger font being used during the print preview and final printed version as well, where in many cases the content gets cut.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
![Pdfjs bug - latest Firefox](https://user-images.githubusercontent.com/29414577/151243040-a625d7f1-72f0-49e3-b552-eac0488c460d.gif)


});
      expect(page3Actions).toEqual({
        PageOpen: [`this.getField("Text5").value = "PageOpen 3";`],
        PageClose: [`this.getField("Text6").value = "PageClose 3";`],
      });
      await loadingTask.destroy();
    });
    it("gets non-existent fieldObjects", async function () {
      const fieldObjects = await pdfDocument.getFieldObjects();
      expect(fieldObjects).toEqual(null);
    });
    it("gets fieldObjects", async function () {
      if (isNodeJS) {
        pending(
          "Node.js appears to ignore Object properties that are explicitly " +
            "set to `undefined`, thus breaking the expectations used below."
        );
      }
      const loadingTask = buildGetDocumentParams("js-authors.pdf"));
      const pdfDoc = await loadingTask.promise;
      const fieldObjects = await pdfDoc.getFieldObjects();
      expect(fieldObjects).toEqual({
        Text1: [
          {
            id: "25R",
            value: "",
            defaultValue: null,
            multiline: false,
            password: false,
            charLimit: null,