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)


Die promovierte Juristin ist 1979 in Graz geboren und aufgewachsen. Nach
erfolgreichem Studienabschluss mit Fokus auf Europarecht absolvierte sie ein
Praktikum bei Magna International in Kanada in der Human Resources Abteilung.
Anschliessend wurde sie geschult in Human Resources, Arbeitsrecht und
Kommunikation, währenddessen sie auch an ihrem Doktorat im Wirtschaftsrecht
arbeitete. Seither arbeitete sie bei Magna International als Projekt Manager in der
Innovationsabteilung. Seit 2009 ist sie Frank Stronachs Büroleiterin in Österreich und
Kanada. Zusätzlich ist sie seit 2012 Vice President, Business Development der
Stronach Group und Vizepräsidentin und Institutsleiterin des Stronach Institut für
sozialökonomische Gerechtigkeit.`)
      ).toEqual(true);
      await loadingTask.destroy();
    });
    it("gets text content, with invisible text marks (issue 9186)", async function () {
      if (isNodeJS) {
        pending("Linked test-cases are not supported in Node.js.");
      }
      const loadingTask = buildGetDocumentParams("issue9186.pdf"));
      const pdfDoc = await loadingTask.promise;
      const pdfPage = await pdfDoc.getPage(1);
      const { items } = await pdfPage.getTextContent();
      const text = mergeText(items);
      expect(
        text.includes(`This Agreement (“Agreement”) is made as of this 25th day of January, 2017, by and
between EDWARD G. ATSINGER III, not individually but as sole Trustee of the ATSINGER
FAMILY TRUST /u/a dated October 31, 1980 as amended, and STUART W. EPPERSON, not
individually but solely as Trustee of the STUART W. EPPERSON REVOCABLE LIVING
TRUST /u/a dated January 14th 1993 as amended, collectively referred to herein as “Lessor”, and
Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
      ).toEqual(true);