The test file at https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-choice-widget.pdf contains listboxes, which are not rendered correctly when printed right now. These kinds of fields are made by https://github.com/mozilla/pdf.js/blob/master/src/display/annotation_layer.js#L672-L678.

/cc @calixteman 
const annotation = await AnnotationFactory.create(
        xref,
        textWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      const annotationStorage = new Map(
      annotationStorage.set(annotation.data.id, {
        value:
          "a aa aaa aaaa aaaaa aaaaaa " +
          "pneumonoultramicroscopicsilicovolcanoconiosis",
      }
      const appearance = await annotation._getAppearance(
        partialEvaluator,
        task,
        annotationStorage
      
      expect(appearance).toEqual(
        "/Tx BMC q BT /Helv 5 Tf 1 0 0 1 0 10 Tm " +
          "2.00 -5.00 Td (a aa aaa ) Tj\n" +
          "0.00 -5.00 Td (aaaa aaaaa ) Tj\n" +
          "0.00 -5.00 Td (aaaaaa ) Tj\n" +
          "0.00 -5.00 Td (pneumonoultr) Tj\n" +
          "0.00 -5.00 Td (amicroscopi) Tj\n" +
          "0.00 -5.00 Td (csilicovolca) Tj\n" +
          "0.00 -5.00 Td (noconiosis) Tj ET Q EMC"
      
    }
    it("should render multiline text in Japanese for printing", async function () {
      textWidgetDict.set("Ff", AnnotationFieldFlag.MULTILINE