Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.2
-
Fix Version/s: 6.1.3
-
Component/s: Documentation
-
Labels:None
-
Environment:ICEpdf 6.1.2 Pro
Java SE 8u92 x64
Windows 10 x64
Description
Comments in org.icepdf.core.pobjects.Page indicate that getPageBoundary(...) is supposed to check CROPBOX boundary in case of bad usage, but it actually always returns MEDIABOX: http://sventon.icesoft.org/svn/repos/repo/show/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java?revision=HEAD#L1200
If the intended behavior was to fall back to CROPBOX, then code and documentation can be adjusted so: https://gist.github.com/fragmer/ba470cb0f523eba63d53a7f9230e2dfa/revisions
Otherwise, if the intended behavior was to fall back to MEDIABOX, then code and documentation can be adjusted so: https://gist.github.com/fragmer/09a58e5f50906afc88d6d889f2c46d63/revisions
(I know this is a pretty small problem, but it's also very easy to fix :))
If the intended behavior was to fall back to CROPBOX, then code and documentation can be adjusted so: https://gist.github.com/fragmer/ba470cb0f523eba63d53a7f9230e2dfa/revisions
Otherwise, if the intended behavior was to fall back to MEDIABOX, then code and documentation can be adjusted so: https://gist.github.com/fragmer/09a58e5f50906afc88d6d889f2c46d63/revisions
(I know this is a pretty small problem, but it's also very easy to fix :))
Activity
Matvei Stefarov
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.2 [ 12974 ] |
Patrick Corless
made changes -
Fix Version/s | 6.1.3 [ 13086 ] | |
Fix Version/s | 6.2 [ 12974 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49424 | Fri Oct 28 09:23:12 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Page.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49511 | Tue Nov 08 12:35:12 MST 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Accepted changes, marking as fixed.