summaryrefslogtreecommitdiff
path: root/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h')
-rw-r--r--print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h
new file mode 100644
index 000000000000..d52e8efd138b
--- /dev/null
+++ b/print/ghostscript8-base/files/patch-contrib_lips4_gdevlips.h
@@ -0,0 +1,17 @@
+--- contrib/lips4/gdevlips.h.orig 2007-05-08 22:00:10 UTC
++++ contrib/lips4/gdevlips.h
+@@ -191,6 +191,14 @@
+ bool faceup;\
+ char mediaType[LIPS_MEDIACHAR_MAX]
+
++/* added by shige 11/06 2003 */
++#define USE_LIPS_SIZE_ERROR
++#define LIPS_SIZE_ERROR_VALUE 2
++
++/* added by shige 11/09 2003 */
++#define LIPS_HEIGHT_MAX_720 11906
++#define LIPS_WIDTH_MAX_720 8419
++
+ int lips_media_selection(int width, int height);
+ int lips_packbits_encode(byte * inBuff, byte * outBuff, int Length);
+ int lips_mode3format_encode(byte * inBuff, byte * outBuff, int Length);