source: trunk/dports/tex/texlive-bin/files/patch-svn31350-dvips.diff @ 111792

Last change on this file since 111792 was 111792, checked in by dports@…, 7 years ago

texlive-bin: backport various fixes from upstream (see #39334, and
http://www.tug.org/pipermail/tldistro/2013q3/000218.html)

File size: 808 bytes
  • texk/dvipsk/bbox.c

    upstream svn31350 fix dvips
    ---
     texk/dvipsk/ChangeLog |    5 +++++
     texk/dvipsk/bbox.c    |    4 ++--
     2 files changed, 7 insertions(+), 2 deletions(-)
    
     2013-04-07  Karl Berry  <karl@tug.org>
     
     	* resident.c (getdefaults) <m>: if <= 0, set to INT_MAX.
     
    346346            if (v - bcd->ury < lly) lly = v - bcd->ury;
    347347            if (v - bcd->lly > ury) ury = v - bcd->lly;
    348348         } else {
    349             if (h + bcd->ury < llx) llx = h + bcd->ury;
    350             if (h + bcd->lly > urx) urx = h + bcd->lly;
     349            if (h + bcd->ury > urx) urx = h + bcd->ury;
     350            if (h + bcd->lly < llx) llx = h + bcd->lly;
    351351            if (v + bcd->llx < lly) lly = v + bcd->llx;
    352352            if (v + bcd->urx > ury) ury = v + bcd->urx;
    353353         }
Note: See TracBrowser for help on using the repository browser.