diff options
Diffstat (limited to 'src/org/apache/fop/pdf/PDFICCStream.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFICCStream.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/apache/fop/pdf/PDFICCStream.java b/src/org/apache/fop/pdf/PDFICCStream.java index b3d6cf875..b3f9c140d 100644 --- a/src/org/apache/fop/pdf/PDFICCStream.java +++ b/src/org/apache/fop/pdf/PDFICCStream.java @@ -1,6 +1,6 @@ /* * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */ @@ -39,8 +39,9 @@ public class PDFICCStream extends PDFStream { pb.append(this.number).append(" ").append(this.generation).append(" obj\n<< "); pb.append("/N ").append(cp.getNumComponents()).append(" "); - if (pdfColorSpace != null) + if (pdfColorSpace != null) { pb.append("/Alternate /").append(pdfColorSpace.getColorSpacePDFString()).append(" "); + } pb.append("/Length ").append((_data.getSize() + 1)).append(" ").append(filterEntry); pb.append(" >>\n"); |