
I am using this test link [https://mozilla.github.io/pdf.js/web/viewer.html](https://mozilla.github.io/pdf.js/web/viewer.html)

The test pdf [pdfjs_lost_image_test.pdf](https://github.com/mozilla/pdf.js/files/3840182/pdfjs_lost_image_test.pdf)

![pdfjs_2](https://user-images.githubusercontent.com/17464719/68747444-84d7f400-0635-11ea-8b36-d4902b4a359b.png)

The image is lost when previewing with pdfjs.

![pdfjs_1](https://user-images.githubusercontent.com/17464719/68747462-8d302f00-0635-11ea-8d76-347e00081066.png)

A temporary solution is to convert the file itself, convert this pdf to jpg first, and then convert this jpg to pdf.

Is it possible that the font is Chinese traditional? and how can I solve it?

Thanks a million!

const width = canvas.width;
      const height = canvas.height;
      const bl = Util.applyTransform([0, 0], inv);
      const br = Util.applyTransform([0, height], inv);
      const ul = Util.applyTransform([width, 0], inv);
      const ur = Util.applyTransform([width, height], inv);
      const x0 = Math.min(bl[0], br[0], ul[0], ur[0]);
      const y0 = Math.min(bl[1], br[1], ul[1], ur[1]);
      const x1 = Math.max(bl[0], br[0], ul[0], ur[0]);
      const y1 = Math.max(bl[1], br[1], ul[1], ur[1]);
      this.ctx.fillRect(x0, y0, x1 - x0, y1 - y0);
    } else {
      
      
      
      
      
      this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10);
    }
    this.compose(this.current.getClippedPathBoundingBox());
    this.restore();
  }
  
  beginInlineImage() {
    unreachable("Should not call beginInlineImage");
  }
  beginImageData() {
    unreachable("Should not call beginImageData");
  }
  paintFormXObjectBegin(matrix, bbox) {