jeremias 2004/06/22 11:42:27
Modified: src/java/org/apache/fop/render/ps PSGenerator.java
Log:
Disable check for maximum line length because of a problem reported in FOP 0.20.5.
Revision Changes Path
1.6 +9 -1 xml-fop/src/java/org/apache/fop/render/ps/PSGenerator.java
Index: PSGenerator.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/ps/PSGenerator.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PSGenerator.java 3 Apr 2004 13:35:09 -0000 1.5
+++ PSGenerator.java 22 Jun 2004 18:42:27 -0000 1.6
@@ -113,9 +113,10 @@
* @exception IOException In case of an I/O problem
*/
public void write(String cmd) throws IOException {
+ /* @todo Check disabled until clarification.
if (cmd.length() > 255) {
throw new RuntimeException("PostScript command exceeded limit of 255
characters");
- }
+ } */
out.write(cmd.getBytes("US-ASCII"));
}
@@ -130,6 +131,13 @@
newLine();
}
+ /**
+ * Writes a comment to the stream and ends the line. Output of comments can
+ * be disabled to reduce the size of the generated file.
+ *
+ * @param comment comment to write
+ * @exception IOException In case of an I/O problem
+ */
public void commentln(String comment) throws IOException {
if (this.commentsEnabled) {
writeln(comment);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]