svn commit: r15978 - branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-11-07 02:30:27-0800
New Revision: 15978

Modified:
   branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java

Log:
Issue 5446: Portions of text missing from PNG export at low resolution

Modified: branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java?view=diff&rev=15978&p1=branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java&p2=branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java&r1=15977&r2=15978
==============================================================================
--- branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java	(original)
+++ branches/BRANCH_0_26_x/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java	2008-11-07 02:30:27-0800
@@ -152,7 +152,7 @@
             throw new IndexOutOfBoundsException(
                     "clip rectangle must fit in band buffer");
         }
-        return (clip.y >= y1 && (clip.y + clip.height) < y2);
+        return (clip.y >= y1 && (clip.y + clip.height - 1) < y2);
     }
 
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.