diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-08-05 00:45:39 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2013-08-05 00:45:39 +0000 |
commit | a276bdbff69ac5c1f1dd900e5aca4b1cab5199ce (patch) | |
tree | 9c7101c91f50ee4e8bcf8e133d33a53f7f96c6d4 /Build | |
parent | a50ccb850160ea9d8cdab844a1dd42304153a36f (diff) |
Fix a pTeX-extension bug in bbox.c.
git-svn-id: svn://tug.org/texlive/trunk@31350 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-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; } |