aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/afp/DataStream.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-01-28 11:10:51 +0000
committerJeremias Maerki <jeremias@apache.org>2009-01-28 11:10:51 +0000
commitac33a1e85b29eb7d528d14fe2fa5cff8dfd64d7d (patch)
tree131f6708a5187ffc9534ad049217794842b728a5 /src/java/org/apache/fop/afp/DataStream.java
parentdafacc3ff595328433b87b0c75bc706b2d451aa2 (diff)
downloadxmlgraphics-fop-ac33a1e85b29eb7d528d14fe2fa5cff8dfd64d7d.tar.gz
xmlgraphics-fop-ac33a1e85b29eb7d528d14fe2fa5cff8dfd64d7d.zip
Moved MonochromeBitmapConverter from PCL to utility package for later reuse in AFP.
Moved BitmapImageUtil to a subpackage under util. Added support for creating (hard) page segments for images when working in bi-level mode. Include Image Object (IOB) is a newer feature and not supported everywhere. Since page segments cannot be scaled, they have to be generated for each distinctive target size. Bugfix: Reduced maximum chunk sizes for GraphicsData and ImageObject to conform to interchange set 1. Bugfix: Removed PresentationSpaceResetMixingTriplet which is not allowed in interchange set 1. Bugfix: Removed invalid byte in IDE Structure Parameter. Added support for creating FS10 images for bi-level bitmaps for better interoperability. Disabled optional and unnecessary name in ImageSegment. This name is never referenced. Refactored environment groups a bit to avoid duplicate data structures due to subclassing. Added explicit MappingOptionTriplet for image scaling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/afp/DataStream.java')
-rw-r--r--src/java/org/apache/fop/afp/DataStream.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/DataStream.java b/src/java/org/apache/fop/afp/DataStream.java
index ea620b867..70d7b7cb0 100644
--- a/src/java/org/apache/fop/afp/DataStream.java
+++ b/src/java/org/apache/fop/afp/DataStream.java
@@ -29,6 +29,7 @@ import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+
import org.apache.fop.afp.fonts.AFPFont;
import org.apache.fop.afp.fonts.AFPFontAttributes;
import org.apache.fop.afp.modca.AbstractPageObject;
@@ -464,7 +465,8 @@ public class DataStream {
yOrigin = y;
break;
}
- currentPage.createIncludePageSegment(name, xOrigin, yOrigin);
+ boolean createHardPageSegments = true;
+ currentPage.createIncludePageSegment(name, xOrigin, yOrigin, createHardPageSegments);
}
/**