From: Manuel Mall Date: Mon, 2 Jan 2006 03:43:00 +0000 (+0000) Subject: Corrected simple mistake in BMP Reader which incorrectly reported the image width... X-Git-Tag: fop-0_92-beta~237 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f8036bb44a6f442bc0007e2001518d807ed24c4d;p=xmlgraphics-fop.git Corrected simple mistake in BMP Reader which incorrectly reported the image width information as the image height git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365282 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/image/analyser/BMPReader.java b/src/java/org/apache/fop/image/analyser/BMPReader.java index 12be15dab..74f6a161c 100644 --- a/src/java/org/apache/fop/image/analyser/BMPReader.java +++ b/src/java/org/apache/fop/image/analyser/BMPReader.java @@ -40,7 +40,7 @@ public class BMPReader implements ImageReader { /** offset to width */ private static final int WIDTH_OFFSET = 18; /** offset to height */ - private static final int HEIGHT_OFFSET = 18; + private static final int HEIGHT_OFFSET = 22; /** offset to horizontal res */ private static final int HRES_OFFSET = 38; /** offset to vertical res */ diff --git a/status.xml b/status.xml index 1e5252b34..6c6db6700 100644 --- a/status.xml +++ b/status.xml @@ -27,6 +27,9 @@ + + Bugfix: Image height for BMP images was incorrectly calculated + Revision of refinement white-space handling.