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)

function compare(a, b) {
      return a - b;
    }
    
    const orderedX = [rect1[0], rect1[2], rect2[0], rect2[2]].sort(compare);
    const orderedY = [rect1[1], rect1[3], rect2[1], rect2[3]].sort(compare);
    const result = [];
    rect1 = Util.normalizeRect(rect1);
    rect2 = Util.normalizeRect(rect2);
    
    if (
      (orderedX[0] === rect1[0] && orderedX[1] === rect2[0]) ||
      (orderedX[0] === rect2[0] && orderedX[1] === rect1[0])
    ) {
      
      result[0] = orderedX[1];