diff options
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/bbox.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index ea8017dca0a..85bb950dc89 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,8 @@ +2013-08-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * bbox.c: Fix a bug in bbdopage() to obtain correct BoundingBox in + vertical mode of pTeX. + 2013-04-07 Karl Berry <karl@tug.org> * resident.c (getdefaults) <m>: if <= 0, set to INT_MAX. diff --git a/Build/source/texk/dvipsk/bbox.c b/Build/source/texk/dvipsk/bbox.c index 55553d78a29..b7f2f7e8728 100644 --- a/Build/source/texk/dvipsk/bbox.c +++ b/Build/source/texk/dvipsk/bbox.c @@ -346,8 +346,8 @@ dochar: if (v - bcd->ury < lly) lly = v - bcd->ury; if (v - bcd->lly > ury) ury = v - bcd->lly; } else { - if (h + bcd->ury < llx) llx = h + bcd->ury; - if (h + bcd->lly > urx) urx = h + bcd->lly; + if (h + bcd->ury > urx) urx = h + bcd->ury; + if (h + bcd->lly < llx) llx = h + bcd->lly; if (v + bcd->llx < lly) lly = v + bcd->llx; if (v + bcd->urx > ury) ury = v + bcd->urx; } |