Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 426674 | Differences between
and this patch

Collapse All | Expand All

(-)poppler-0.20.2/poppler/PSOutputDev.cc (-4 / +1 lines)
Lines 3519-3524 Link Here
3519
    saveState(NULL);
3519
    saveState(NULL);
3520
  }
3520
  }
3521
3521
3522
  xScale = yScale = 1;
3522
  switch (mode) {
3523
  switch (mode) {
3523
3524
3524
  case psModePSOrigPageSizes:
3525
  case psModePSOrigPageSizes:
Lines 3629-3636 Link Here
3629
      } else {
3630
      } else {
3630
	yScale = xScale;
3631
	yScale = xScale;
3631
      }
3632
      }
3632
    } else {
3633
      xScale = yScale = 1;
3634
    }
3633
    }
3635
    // deal with odd bounding boxes or clipping
3634
    // deal with odd bounding boxes or clipping
3636
    if (clipLLX0 < clipURX0 && clipLLY0 < clipURY0) {
3635
    if (clipLLX0 < clipURX0 && clipLLY0 < clipURY0) {
Lines 3692-3698 Link Here
3692
    if (tx != 0 || ty != 0) {
3691
    if (tx != 0 || ty != 0) {
3693
      writePSFmt("{0:.6g} {1:.6g} translate\n", tx, ty);
3692
      writePSFmt("{0:.6g} {1:.6g} translate\n", tx, ty);
3694
    }
3693
    }
3695
    xScale = yScale = 1;
3696
    break;
3694
    break;
3697
3695
3698
  case psModeForm:
3696
  case psModeForm:
Lines 3700-3706 Link Here
3700
    writePS("begin xpdf begin\n");
3698
    writePS("begin xpdf begin\n");
3701
    writePS("pdfStartPage\n");
3699
    writePS("pdfStartPage\n");
3702
    tx = ty = 0;
3700
    tx = ty = 0;
3703
    xScale = yScale = 1;
3704
    rotate = 0;
3701
    rotate = 0;
3705
    break;
3702
    break;
3706
  }
3703
  }

Return to bug 426674