summaryrefslogtreecommitdiff
path: root/src/cairo-error-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2013-09-14 20:59:56 +0930
committerAdrian Johnson <ajohnson@redneon.com>2013-09-15 20:50:46 +0930
commit5c0caa6f82374ec38a33d5f25a725f60bc121887 (patch)
treef72d0efad6b57d4592713831c7c863de4e5432dc /src/cairo-error-private.h
parent2d6705671a900251f00c6b59375bd4d23ec6b4d0 (diff)
downloadcairo-5c0caa6f82374ec38a33d5f25a725f60bc121887.tar.gz
pdf: support JBIG2 mime data
JBIG2 images may have shared global data that is stored in a separate stream in PDF. The CAIRO_MIME_TYPE_JBIG2 mime type is for the JBIG2 data for each image. All images that use global data must also set CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID to a unique identifier. One of the images must also set CAIRO_MIME_TYPE_JBIG2_GLOBAL to the global data. The global data will be shared by all JBIG2 images with the same CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID.
Diffstat (limited to 'src/cairo-error-private.h')
-rw-r--r--src/cairo-error-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-error-private.h b/src/cairo-error-private.h
index ea9c2ea31..2d170efc0 100644
--- a/src/cairo-error-private.h
+++ b/src/cairo-error-private.h
@@ -90,6 +90,7 @@ enum _cairo_int_status {
CAIRO_INT_STATUS_DEVICE_ERROR,
CAIRO_INT_STATUS_INVALID_MESH_CONSTRUCTION,
CAIRO_INT_STATUS_DEVICE_FINISHED,
+ CAIRO_INT_STATUS_JBIG2_GLOBAL_MISSING,
CAIRO_INT_STATUS_LAST_STATUS,