Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5005

pdfviewer some fonts are not rendering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 10.0.0
    • 9.6.0
    • Components
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      <pdfviewer src="test.pdf" hflex="1" vflex="1" />
      

      test.pdf (not shared in public)

      Current Result

      several texts remain blank

      Expected Result

      all text renders

      Debug Information

      pdfviewer uses an older version of pdf.js
      the latest 2.9.x doesn't have the problem

      Workaround

      add the latest versions of pdf.js and pdf.worker.js (pdf.src.js / pdf.worker.src.js for debugging) in

      WEB-INF/classes/web/js/zkex/pdfviewer/ext

            gordonhsu gordonhsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: