Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5666

error encountered in splitting pdf using ver 3.0.0

    XMLWordPrintableJSON

Details

    Description

      From sethmu tha on the mailing list

      I use the new version as

      > java -jar pdfbox-app-3.0.0.jar split -i=km.pdf -endPage=4 -outputPrefix=test -startPage=2

      There is output file "test-1.pdf". But when it was opened, it shows error message:
      Cannot extract the embedded font 'FPHGCA+PyidaungsuBook'. Some characters may not display or print correctly.

      However, when I tried with pdfbox ver 2.0.29,

      > java -jar pdfbox-app-2.0.29.jar PDFSplit -startPage 2 -endPage 4 -outputPrefix test km.pdf

      The output file "test-1.pdf" file shows all pages correctly without any issue.

      In fact, when I use the another pdf file which has many pages, sometimes I encounter blank pages when using the ver 3.0.0, but when I use ver 2.0.29, there is no such issue.

      Attachments

        1. km.pdf
          1.39 MB
          Tilman Hausherr
        2. km-split-result-page1.pdf
          366 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: