hello,
this pdf file created with Adobe InDesign, alot of elements are missing, also wrong color are displaying:
http://tal-ram.co.il/images/products/orders/14265798291.pdf

![viewer](https://cloud.githubusercontent.com/assets/1198143/6713275/f88ae242-cd99-11e4-8202-fdb5dc4b132e.png)

![org](https://cloud.githubusercontent.com/assets/1198143/6713312/24d83ff2-cd9a-11e4-82e7-647ad5440a64.png)

}
      tmpCanvas = this.cachedCanvases.getCanvas(
        tmpCanvasId,
        newWidth,
        newHeight
      );
      tmpCtx = tmpCanvas.context;
      tmpCtx.clearRect(0, 0, newWidth, newHeight);
      tmpCtx.drawImage(
        img,
        0,
        0,
        paintWidth,
        paintHeight,
        0,
        0,
        newWidth,
        newHeight
      );
      img = tmpCanvas.canvas;
      paintWidth = newWidth;
      paintHeight = newHeight;
      tmpCanvasId = tmpCanvasId === "prescale1" ? "prescale2" : "prescale1";
    }
    return {
      img,
      paintWidth,
      paintHeight,
    };
  }