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
RevLine 
[111792]1upstream svn31350 fix dvips
2---
3 texk/dvipsk/ChangeLog |    5 +++++
4 texk/dvipsk/bbox.c    |    4 ++--
5 2 files changed, 7 insertions(+), 2 deletions(-)
6
7 2013-04-07  Karl Berry  <karl@tug.org>
8 
9        * resident.c (getdefaults) <m>: if <= 0, set to INT_MAX.
10--- texk/dvipsk/bbox.c
11+++ texk/dvipsk/bbox.c
12@@ -346,8 +346,8 @@
13             if (v - bcd->ury < lly) lly = v - bcd->ury;
14             if (v - bcd->lly > ury) ury = v - bcd->lly;
15          } else {
16-            if (h + bcd->ury < llx) llx = h + bcd->ury;
17-            if (h + bcd->lly > urx) urx = h + bcd->lly;
18+            if (h + bcd->ury > urx) urx = h + bcd->ury;
19+            if (h + bcd->lly < llx) llx = h + bcd->lly;
20             if (v + bcd->llx < lly) lly = v + bcd->llx;
21             if (v + bcd->urx > ury) ury = v + bcd->urx;
22          }
Note: See TracBrowser for help on using the repository browser.