X11.so000075500000300460147207257600005500 0ustar00ELF>`Y@pz@8@  yy hh!h!00$$PtdQtdRtd wwGNU?xL WNMI%@X ('((a1Mʇ `M~Nᝉg[7q*3f齜QP4:|Ne&yHta{^Votȋ?A7R\dHy͗_󤿗0qX0+EȬ1|˪^]#=GBEt (Hؐog!~Y I 5". o   X  B   Iq+ h  *y"v_ F  M PF ! 0   = q <    b I[YK 5o  '  k \5 j [$}s a    P  [    2_  n+y d2  y M? < L" > 0 !!0!X! | 6 D P @2  (!  @>  >w  U  O п H`! p!7!`h!@ dS qt   >  ~ r!0 `#l r!  ?! w r!@ !H  p!p y I!\ P Z__gmon_start___fini_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalize_Jv_RegisterClassesst_device_forwardgs_x11_devicegs_copydevicecheck_device_separablegx_device_fill_in_procsgx_device_set_targetgx_device_decache_colors__stack_chk_failcmyk_1bit_map_cmyk_colorgx_forward_map_rgb_colorgx_default_copy_colorgs_shared_initgs_lib_register_devicegs_x11alpha_devicegs_x11cmyk_devicegs_x11cmyk2_devicegs_x11cmyk4_devicegs_x11cmyk8_devicegs_x11gray2_devicegs_x11gray4_devicegs_x11mono_devicegs_x11rg32x_devicegx_default_installgx_default_begin_pagegx_default_end_pagegx_forward_get_initial_matrixgx_default_tile_rectanglegx_default_draw_linegx_forward_map_cmyk_colorgx_forward_get_xfont_procsgx_forward_get_xfont_devicegx_forward_get_page_devicegx_default_get_alpha_bitsgx_default_copy_alphags_x11rg16x_devicegx_default_gray_map_rgb_colorgx_default_map_cmyk_colorgx_default_b_w_map_rgb_colorgx_device_finalizegx_default_fillpageXDrawTextXSetFunctionXSetForegroundXDrawPointXInitImageXPutImageXSetFillStyleerrprintfXCopyAreaXGetImagememcpygx_default_get_bits_rectangleXFreeGCXFreePixmapgdev_x_closeXSyncgx_default_get_initial_matrixgdev_x_openinstall_internal_subclass_devicesXGetGCValuesXFillRectanglesXFillRectanglegs_revision_numbergs_program_nameeprintf_program_identlprintf_file_and_lineerrprintf_nomemgdev_x_send_eventXSendEventgx_finish_output_pageXNextEventx_update_addgx_default_begin_typed_imagegs_currentdevicememcmpgs_currentmatrixgs_matrix_multiplygs_bbox_transformgx_cpath_includes_rectangleXSetBackgroundXCreatePixmapXSetTilegx_default_strip_tile_rectangleXCreateGCXSetClipMaskXSetClipOrigingdev_x_free_dynamic_colorsgdev_x_box_procsst_device_Xgdev_x_map_rgb_colorgdev_x_map_color_rgbgdev_x_get_paramsgdev_x_put_paramsgdev_x_finish_copydevicebasic_enum_ptrsbasic_reloc_ptrsst_device_bboxXGetRGBColormapsXAllocColorXFreeColorsXAllocStandardColormapgdev_x_setup_colorsemprintf_program_identXInternAtomXGetWindowPropertypow__isoc99_sscanfgdev_x_free_colorsXFreex_catch_free_colorsgdev_x_clear_windowgdev_mem_device_for_bitsgs_make_mem_devicegdev_mem_data_sizegdev_mem_open_scan_linesgx_device_whitegx_device_blackgs_bbox_devicegx_device_forward_fill_in_procsXSetWindowBackgroundPixmapXSetErrorHandlerst_device_memoryXOpenDisplaygetenvXMatchVisualInfoXCreateColormapXVisualIDFromVisualXGetVisualInfoXtToolkitInitializeXtCreateApplicationContextgdev_x_fallback_resourcesXtAppSetFallbackResourcesXtOpenDisplayapplicationShellWidgetClassXtAppCreateShellgdev_x_resource_countgdev_x_resourcesXtGetApplicationResourcesXQueryColorgs_sprintfXWMGeometryXtDestroyWidgetXtCloseDisplayXtDestroyApplicationContextXSetLineAttributesXMapWindowXSetGraphicsExposuresXSelectInputXGetWindowAttributesXCreateWindowXGetGeometryXStoreNameXSetWMNormalHintsXSetWMHintsXSetClassHintXCloseDisplaygx_default_get_paramsparam_write_longparam_write_boolparam_write_intparam_put_longparam_put_boolparam_put_intgx_default_put_paramsgs_closedeviceXResizeWindowXFreeColormapXtStringsXtShellStringsgs_param_string_eqstrlenstrncmpparam_put_enumparam_read_nameparam_read_boolparam_read_intparam_read_longparam_list_copyparam_init_enumerator__memcpy_chkparam_read_requested_typedgs_param_list_set_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{lQ0V̐^ ;H#``$Yvا [sMǏ/N ڔz2;NED{XS9Aj3ÝPÐH'բ֚Vտ>0ӄvw(G9 RK>eFaW#aǹ@PQPʮ+'*ՂWO ne' W]D>2̷~z Gcj#u_|5ks6̯*";r/1Z[׆6󪺐QmT(gsi 2gYZ.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.jcr.data.rel.ro.dynamic.got.data.bss.gnu_debuglink.gnu_debugdata $ol( ``0xx 8o>#>#Eo$$`T % % ^B@D@D hPPcPPpn`Y`Yt|| z0xx|    o h!h0j!jp!p r!r@ rrtyusr/bin/ghostscript000075500000025740147221117540010440 0ustar00ELF>s @$@8 @@@@888    88 8 TTTDDPtd LLQtdRtd  /lib64/ld-linux-x86-64.so.2GNU GNUXF19W(g @ BE|qXv$" k/ 3 K E X e p L  libgs.so.9__gmon_start___Jv_RegisterClasses_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable_initgsapi_exitgsapi_init_with_args_finigsapi_set_stdiogsapi_new_instancegsapi_delete_instancegsapi_run_stringlibc.so.6fflush__stack_chk_failstdinreadstdoutstderrfilenofwrite__cxa_finalize__libc_start_main_edata__bss_start_endGLIBC_2.4GLIBC_2.2.5ii ]ui g P   0 0           P X ` h p x            HHu HtH5 % @% h% h% h% h% h% h%z h%r hp%j h`%b h P%Z h @%R h 0%J h %B h ATI1USH H|$dH%(HD$1tBt9~2uHL$dH3 %(H []A\Åt ؃u1H|$H HH5 H|$Lt-H|$tuuH|$cʼnH5wH|$HL$ 1}1I^HHPTL'H H=Hh H=Z UH)HHw]H$ Ht]@H1 H=* UH)HHHH?HHu]H Ht]H@= u'H= UHt H= }h] @f.H= t&Hw HtUH= H]WKf.UHվHcSHH6 H H;VH[]f.UHվHcSHH H ~H;H[]f.USHHH H8HcHމH[]fAWAAVIAUIATL% UH- SL)1HHHtLLDAHH9uH[]A\A]A^A_Ðf.HHsystemdict /start get exec ;H4d$ TlzRx *zRx $FJ w?;*3$"$D3AND [CA$l3AND [CA$.ACG `AA4XBFC D@I  AABA DeBEE E(H0H8M@l8A0A(B BBB<P  0  p    o@ s 8 P  ooooo8   & 6 F V f v gs.debugF7zXZִF!t/6]?Eh=ڊ2N7I@kuPh!hxَ"vGlwQQ8 &Wn]GpQIf/KkO`|"ϫ3Y%@ߒXaPÁkb9g-}s 7aOO&7oGF%5~">P 5>uixJr[$lj/Z q[J2|N>eH”ut_vo]yk[IC΄ 7'&CgOt-ԝkg ˅*;G%b=RA}M |?0pAIYE=T0~ӎElx'>Ռ I,x;jKlNB[(\=n%7oCl@$8U}n'?2vjͿTŋVemslն!Ff6x5R{Q E %L/ (J,>wc3_38@*.2r(US40NW )%cMx ~5Q[ oD.RFoNMHH)1;KW*v_Ox,H&UQfU`9߀2E @NΈ}[?Lj-adD~9*JځX'BNUNSg ߥWA0CW+u?㹘j=L>Qsu8V2x&epaDm\،8c@u.RgYZ.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.jcr.data.rel.ro.dynamic.got.data.bss.gnu_debuglink.gnu_debugdata 88TT !tt$4o8> pF@@sNo4[o0jtB  P~p p y  2  , L88   ( (0 08 88 8     x#ierrors.h000064400000004215147221327550006414 0ustar00/* Copyright (C) 2001-2018 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. Refer to licensing information at http://www.artifex.com or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. */ /* Definition of error codes */ #ifndef ierrors_INCLUDED # define ierrors_INCLUDED #include "gserrors.h" /* * DO NOT USE THIS FILE IN THE GRAPHICS LIBRARY. * THIS FILE IS PART OF THE POSTSCRIPT INTERPRETER. * USE gserrors.h IN THE LIBRARY. */ /* * A procedure that may return an error always returns * a non-negative value (zero, unless otherwise noted) for success, * or negative for failure. * We use ints rather than an enum to avoid a lot of casting. */ /* Define the error name table */ extern const char *const gs_error_names[]; /* ------ PostScript Level 1 errors ------ */ #define LEVEL1_ERROR_NAMES\ "unknownerror", "dictfull", "dictstackoverflow", "dictstackunderflow",\ "execstackoverflow", "interrupt", "invalidaccess", "invalidexit",\ "invalidfileaccess", "invalidfont", "invalidrestore", "ioerror",\ "limitcheck", "nocurrentpoint", "rangecheck", "stackoverflow",\ "stackunderflow", "syntaxerror", "timeout", "typecheck", "undefined",\ "undefinedfilename", "undefinedresult", "unmatchedmark", "VMerror" /* ------ Additional Level 2 errors (also in DPS) ------ */ #define LEVEL2_ERROR_NAMES\ "configurationerror", "undefinedresource", "unregistered" /* ------ Additional DPS errors ------ */ #define DPS_ERROR_NAMES\ "invalidcontext", "invalidid" #define ERROR_NAMES\ LEVEL1_ERROR_NAMES, LEVEL2_ERROR_NAMES, DPS_ERROR_NAMES /* * Define which error codes require re-executing the current object. */ #define GS_ERROR_IS_INTERRUPT(ecode)\ ((ecode) == gs_error_interrupt || (ecode) == gs_error_timeout) #endif /* ierrors_INCLUDED */ gserrors.h000064400000033664147221327550006607 0ustar00/* Copyright (C) 2001-2018 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. Refer to licensing information at http://www.artifex.com or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. */ /* Error code definitions */ #ifndef gserrors_INCLUDED # define gserrors_INCLUDED /* A procedure that may return an error always returns */ /* a non-negative value (zero, unless otherwise noted) for success, */ /* or negative for failure. */ /* We don't use a typedef internally to avoid a lot of casting. */ enum gs_error_type { gs_error_ok = 0, gs_error_unknownerror = -1, /* unknown error */ gs_error_dictfull = -2, gs_error_dictstackoverflow = -3, gs_error_dictstackunderflow = -4, gs_error_execstackoverflow = -5, gs_error_interrupt = -6, gs_error_invalidaccess = -7, gs_error_invalidexit = -8, gs_error_invalidfileaccess = -9, gs_error_invalidfont = -10, gs_error_invalidrestore = -11, gs_error_ioerror = -12, gs_error_limitcheck = -13, gs_error_nocurrentpoint = -14, gs_error_rangecheck = -15, gs_error_stackoverflow = -16, gs_error_stackunderflow = -17, gs_error_syntaxerror = -18, gs_error_timeout = -19, gs_error_typecheck = -20, gs_error_undefined = -21, gs_error_undefinedfilename = -22, gs_error_undefinedresult = -23, gs_error_unmatchedmark = -24, gs_error_VMerror = -25, /* must be the last Level 1 error */ /* ------ Additional Level 2 errors (also in DPS, ------ */ gs_error_configurationerror = -26, gs_error_undefinedresource = -27, gs_error_unregistered = -28, gs_error_invalidcontext = -29, /* invalidid is for the NeXT DPS extension. */ gs_error_invalidid = -30, /* ------ Pseudo-errors used internally ------ */ gs_error_hit_detected = -99, gs_error_Fatal = -100, /* * Internal code for the .quit operator. * The real quit code is an integer on the operand stack. * gs_interpret returns this only for a .quit with a zero exit code. */ gs_error_Quit = -101, /* * Internal code for a normal exit from the interpreter. * Do not use outside of interp.c. */ gs_error_InterpreterExit = -102, /* Need the remap color error for high level pattern support */ gs_error_Remap_Color = -103, /* * Internal code to indicate we have underflowed the top block * of the e-stack. */ gs_error_ExecStackUnderflow = -104, /* * Internal code for the vmreclaim operator with a positive operand. * We need to handle this as an error because otherwise the interpreter * won't reload enough of its state when the operator returns. */ gs_error_VMreclaim = -105, /* * Internal code for requesting more input from run_string. */ gs_error_NeedInput = -106, /* * Internal code for a normal exit when usage info is displayed. * This allows Window versions of Ghostscript to pause until * the message can be read. */ gs_error_Info = -110, /* A special 'error', like reamp color above. This is used by a subclassing * device to indicate that it has fully processed a device method, and parent * subclasses should not perform any further action. Currently this is limited * to compositor creation. */ gs_error_handled = -111 }; /* We do provide a typedef type for external API use */ typedef enum gs_error_type gs_error_t; int gs_log_error(int, const char *, int); #if !defined(DEBUG) || defined(GS_THREADSAFE) # define gs_log_error(err, file, line) (err) #endif #ifdef GS_THREADSAFE #define gs_note_error(err) (err) #define return_error(err) return (err) #else #define gs_note_error(err) gs_log_error(err, __FILE__, __LINE__) #define return_error(err) return gs_note_error(err) #endif #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L # if defined(__GNUC__) && __GNUC__ >= 2 # define __func__ __FUNCTION__ # elif defined(__FUNCTION__) # define __func__ __FUNCTION__ # elif defined(__FUNC__) # define __func__ __FUNC__ # else # define __func__ "" # endif #endif /* * Error reporting macros. * */ #ifndef __printflike #if __GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 7 #define __printflike(fmtarg, firstvararg) \ __attribute__((__format__ (__printf__, fmtarg, firstvararg))) #else #define __printflike(fmtarg, firstvararg) #endif #endif const char *gs_errstr(int code); #ifdef GS_THREADSAFE /* In threadsafe builds, we just swallow errors unreported */ #define gs_throw_code(code) \ (code) #define gs_throw(code, fmt) \ (code) #define gs_throw1(code, fmt, arg1) \ (code) #define gs_throw2(code, fmt, arg1, arg2) \ (code) #define gs_throw3(code, fmt, arg1, arg2, arg3) \ (code) #define gs_throw4(code, fmt, arg1, arg2, arg3, arg4) \ (code) #define gs_throw5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ (code) #define gs_throw6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ (code) #define gs_throw7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ (code) #define gs_throw8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ (code) #define gs_throw9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ (code) /* Bubble the code up the stack */ #define gs_rethrow_code(code) \ (code) #define gs_rethrow(code, fmt) \ (code) #define gs_rethrow1(code, fmt, arg1) \ (code) #define gs_rethrow2(code, fmt, arg1, arg2) \ (code) #define gs_rethrow3(code, fmt, arg1, arg2, arg3) \ (code) #define gs_rethrow4(code, fmt, arg1, arg2, arg3, arg4) \ (code) #define gs_rethrow5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ (code) #define gs_rethrow6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ (code) #define gs_rethrow7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ (code) #define gs_rethrow8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ (code) #define gs_rethrow9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ (code) /* This will cause trouble, as it implies you are fixing an error * the system will spew messages */ #define gs_catch(code, fmt) \ (code) #define gs_catch1(code, fmt, arg1) \ (code) #define gs_catch2(code, fmt, arg1, arg2) \ (code) #define gs_catch3(code, fmt, arg1, arg2, arg3) \ (code) #define gs_catch4(code, fmt, arg1, arg2, arg3, arg4) \ (code) #define gs_catch5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ (code) #define gs_catch6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ (code) #define gs_catch7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ (code) #define gs_catch8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ (code) #define gs_catch9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ (code) /* gs_warn is a printf */ #define gs_warn(fmt) \ DO_NOTHING #define gs_warn1(fmt, arg1) \ DO_NOTHING #define gs_warn2(fmt, arg1, arg2) \ DO_NOTHING #define gs_warn3(fmt, arg1, arg2, arg3) \ DO_NOTHING #define gs_warn4(fmt, arg1, arg2, arg3, arg4) \ DO_NOTHING #define gs_warn5(fmt, arg1, arg2, arg3, arg4, arg5) \ DO_NOTHING #define gs_warn6(fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ DO_NOTHING #define gs_warn7(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ DO_NOTHING #define gs_warn8(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ DO_NOTHING #define gs_warn9(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ DO_NOTHING #else int gs_throw_imp(const char *func, const char *file, int line, int op, int code, const char *fmt, ...) __printflike(6, 7); /* Use throw at origin of error */ #define gs_throw_code(code) \ gs_throw1((code), "%s", gs_errstr((code))) #define gs_throw(code, fmt) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt) #define gs_throw1(code, fmt, arg1) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1) #define gs_throw2(code, fmt, arg1, arg2) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2) #define gs_throw3(code, fmt, arg1, arg2, arg3) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3) #define gs_throw4(code, fmt, arg1, arg2, arg3, arg4) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4) #define gs_throw5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4, arg5) #define gs_throw6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) #define gs_throw7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) #define gs_throw8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) #define gs_throw9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ gs_throw_imp(__func__, __FILE__, __LINE__, 0, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) /* Bubble the code up the stack */ #define gs_rethrow_code(code) \ gs_rethrow1((code), "%s", gs_errstr((code))) #define gs_rethrow(code, fmt) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt) #define gs_rethrow1(code, fmt, arg1) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1) #define gs_rethrow2(code, fmt, arg1, arg2) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2) #define gs_rethrow3(code, fmt, arg1, arg2, arg3) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3) #define gs_rethrow4(code, fmt, arg1, arg2, arg3, arg4) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4) #define gs_rethrow5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4, arg5) #define gs_rethrow6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) #define gs_rethrow7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) #define gs_rethrow8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) #define gs_rethrow9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ gs_throw_imp(__func__, __FILE__, __LINE__, 1, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) /* This will cause trouble, as it implies you are fixing an error * the system will spew messages */ #define gs_catch(code, fmt) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt) #define gs_catch1(code, fmt, arg1) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1) #define gs_catch2(code, fmt, arg1, arg2) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2) #define gs_catch3(code, fmt, arg1, arg2, arg3) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3) #define gs_catch4(code, fmt, arg1, arg2, arg3, arg4) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4) #define gs_catch5(code, fmt, arg1, arg2, arg3, arg4, arg5) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4, arg5) #define gs_catch6(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6) #define gs_catch7(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) #define gs_catch8(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) #define gs_catch9(code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ gs_throw_imp(__func__, __FILE__, __LINE__, 2, code, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) /* gs_warn is a printf */ #define gs_warn(fmt) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt) #define gs_warn1(fmt, arg1) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1) #define gs_warn2(fmt, arg1, arg2) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2) #define gs_warn3(fmt, arg1, arg2, arg3) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3) #define gs_warn4(fmt, arg1, arg2, arg3, arg4) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4) #define gs_warn5(fmt, arg1, arg2, arg3, arg4, arg5) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4, arg5) #define gs_warn6(fmt, arg1, arg2, arg3, arg4, arg5, arg6) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4, arg5, arg6) #define gs_warn7(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7) #define gs_warn8(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) #define gs_warn9(fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) \ (void)gs_throw_imp(__func__, __FILE__, __LINE__, 3, 0, fmt, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) #endif /* just in case you don't know 0 means no error * other return codes are errors. */ #define gs_okay 0 #endif /* gserrors_INCLUDED */ gdevdsp.h000064400000023412147221327550006363 0ustar00/* Copyright (C) 2001-2018 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. Refer to licensing information at http://www.artifex.com or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. */ /* gdevdsp.h - callback structure for DLL based display device */ #ifndef gdevdsp_INCLUDED # define gdevdsp_INCLUDED /* * The callback structure must be provided by calling the * Ghostscript APIs in the following order: * gsapi_new_instance(&minst); * gsapi_set_display_callback(minst, callback); * gsapi_init_with_args(minst, argc, argv); * * Supported parameters and default values are: * -sDisplayHandle=16#04d2 or 1234 string * Caller supplied handle as a decimal or hexadecimal number * in a string. On 32-bit platforms, it may be set * using -dDisplayHandle=1234 for backward compatibility. * Included as first parameter of all callback functions. * * -dDisplayFormat=0 long * Color format specified using bitfields below. * Included as argument of display_size() and display_presize() * These can only be changed when the device is closed. * * The second parameter of all callback functions "void *device" * is the address of the Ghostscript display device instance. * The arguments "void *handle" and "void *device" together * uniquely identify an instance of the display device. * * A typical sequence of callbacks would be * open, presize, memalloc, size, sync, page * presize, memfree, memalloc, size, sync, page * preclose, memfree, close * The caller should not access the image buffer: * - before the first sync * - between presize and size * - after preclose * If opening the device fails, you might see the following: * open, presize, memalloc, memfree, close * */ #define DISPLAY_VERSION_MAJOR 2 #define DISPLAY_VERSION_MINOR 0 #define DISPLAY_VERSION_MAJOR_V1 1 /* before separation format was added */ #define DISPLAY_VERSION_MINOR_V1 0 /* The display format is set by a combination of the following bitfields */ /* Define the color space alternatives */ typedef enum { DISPLAY_COLORS_NATIVE = (1<<0), DISPLAY_COLORS_GRAY = (1<<1), DISPLAY_COLORS_RGB = (1<<2), DISPLAY_COLORS_CMYK = (1<<3), DISPLAY_COLORS_SEPARATION = (1<<19) } DISPLAY_FORMAT_COLOR; #define DISPLAY_COLORS_MASK 0x8000fL /* Define whether alpha information, or an extra unused bytes is included */ /* DISPLAY_ALPHA_FIRST and DISPLAY_ALPHA_LAST are not implemented */ typedef enum { DISPLAY_ALPHA_NONE = (0<<4), DISPLAY_ALPHA_FIRST = (1<<4), DISPLAY_ALPHA_LAST = (1<<5), DISPLAY_UNUSED_FIRST = (1<<6), /* e.g. Mac xRGB */ DISPLAY_UNUSED_LAST = (1<<7) /* e.g. Windows BGRx */ } DISPLAY_FORMAT_ALPHA; #define DISPLAY_ALPHA_MASK 0x00f0L /* Define the depth per component for DISPLAY_COLORS_GRAY, * DISPLAY_COLORS_RGB and DISPLAY_COLORS_CMYK, * or the depth per pixel for DISPLAY_COLORS_NATIVE * DISPLAY_DEPTH_2 and DISPLAY_DEPTH_12 have not been tested. */ typedef enum { DISPLAY_DEPTH_1 = (1<<8), DISPLAY_DEPTH_2 = (1<<9), DISPLAY_DEPTH_4 = (1<<10), DISPLAY_DEPTH_8 = (1<<11), DISPLAY_DEPTH_12 = (1<<12), DISPLAY_DEPTH_16 = (1<<13) /* unused (1<<14) */ /* unused (1<<15) */ } DISPLAY_FORMAT_DEPTH; #define DISPLAY_DEPTH_MASK 0xff00L /* Define whether Red/Cyan should come first, * or whether Blue/Black should come first */ typedef enum { DISPLAY_BIGENDIAN = (0<<16), /* Red/Cyan first */ DISPLAY_LITTLEENDIAN = (1<<16) /* Blue/Black first */ } DISPLAY_FORMAT_ENDIAN; #define DISPLAY_ENDIAN_MASK 0x00010000L /* Define whether the raster starts at the top or bottom of the bitmap */ typedef enum { DISPLAY_TOPFIRST = (0<<17), /* Unix, Mac */ DISPLAY_BOTTOMFIRST = (1<<17) /* Windows */ } DISPLAY_FORMAT_FIRSTROW; #define DISPLAY_FIRSTROW_MASK 0x00020000L /* Define whether packing RGB in 16-bits should use 555 * or 565 (extra bit for green) */ typedef enum { DISPLAY_NATIVE_555 = (0<<18), DISPLAY_NATIVE_565 = (1<<18) } DISPLAY_FORMAT_555; #define DISPLAY_555_MASK 0x00040000L /* Define the row alignment, which must be equal to or greater than * the size of a pointer. * The default (DISPLAY_ROW_ALIGN_DEFAULT) is the size of a pointer, * 4 bytes (DISPLAY_ROW_ALIGN_4) on 32-bit systems or 8 bytes * (DISPLAY_ROW_ALIGN_8) on 64-bit systems. */ typedef enum { DISPLAY_ROW_ALIGN_DEFAULT = (0<<20), /* DISPLAY_ROW_ALIGN_1 = (1<<20), */ /* not currently possible */ /* DISPLAY_ROW_ALIGN_2 = (2<<20), */ /* not currently possible */ DISPLAY_ROW_ALIGN_4 = (3<<20), DISPLAY_ROW_ALIGN_8 = (4<<20), DISPLAY_ROW_ALIGN_16 = (5<<20), DISPLAY_ROW_ALIGN_32 = (6<<20), DISPLAY_ROW_ALIGN_64 = (7<<20) } DISPLAY_FORMAT_ROW_ALIGN; #define DISPLAY_ROW_ALIGN_MASK 0x00700000L #ifndef display_callback_DEFINED #define display_callback_DEFINED typedef struct display_callback_s display_callback; #endif /* * Note that for Windows, the display callback functions are * cdecl, not stdcall. This differs from those in iapi.h. */ struct display_callback_s { /* Size of this structure */ /* Used for checking if we have been handed a valid structure */ int size; /* Major version of this structure */ /* The major version number will change if this structure changes. */ int version_major; /* Minor version of this structure */ /* The minor version number will change if new features are added * without changes to this structure. For example, a new color * format. */ int version_minor; /* New device has been opened */ /* This is the first event from this device. */ int (*display_open)(void *handle, void *device); /* Device is about to be closed. */ /* Device will not be closed until this function returns. */ int (*display_preclose)(void *handle, void *device); /* Device has been closed. */ /* This is the last event from this device. */ int (*display_close)(void *handle, void *device); /* Device is about to be resized. */ /* Resize will only occur if this function returns 0. */ /* raster is byte count of a row. */ int (*display_presize)(void *handle, void *device, int width, int height, int raster, unsigned int format); /* Device has been resized. */ /* New pointer to raster returned in pimage */ int (*display_size)(void *handle, void *device, int width, int height, int raster, unsigned int format, unsigned char *pimage); /* flushpage */ int (*display_sync)(void *handle, void *device); /* showpage */ /* If you want to pause on showpage, then don't return immediately */ int (*display_page)(void *handle, void *device, int copies, int flush); /* Notify the caller whenever a portion of the raster is updated. */ /* This can be used for cooperative multitasking or for * progressive update of the display. * This function pointer may be set to NULL if not required. */ int (*display_update)(void *handle, void *device, int x, int y, int w, int h); /* Allocate memory for bitmap */ /* This is provided in case you need to create memory in a special * way, e.g. shared. If this is NULL, the Ghostscript memory device * allocates the bitmap. This will only called to allocate the * image buffer. The first row will be placed at the address * returned by display_memalloc. */ void *(*display_memalloc)(void *handle, void *device, unsigned long size); /* Free memory for bitmap */ /* If this is NULL, the Ghostscript memory device will free the bitmap */ int (*display_memfree)(void *handle, void *device, void *mem); /* Added in V2 */ /* When using separation color space (DISPLAY_COLORS_SEPARATION), * give a mapping for one separation component. * This is called for each new component found. * It may be called multiple times for each component. * It may be called at any time between display_size * and display_close. * The client uses this to map from the separations to CMYK * and hence to RGB for display. * GS must only use this callback if version_major >= 2. * The unsigned short c,m,y,k values are 65535 = 1.0. * This function pointer may be set to NULL if not required. */ int (*display_separation)(void *handle, void *device, int component, const char *component_name, unsigned short c, unsigned short m, unsigned short y, unsigned short k); }; /* This is the V1 structure, before separation format was added */ struct display_callback_v1_s { int size; int version_major; int version_minor; int (*display_open)(void *handle, void *device); int (*display_preclose)(void *handle, void *device); int (*display_close)(void *handle, void *device); int (*display_presize)(void *handle, void *device, int width, int height, int raster, unsigned int format); int (*display_size)(void *handle, void *device, int width, int height, int raster, unsigned int format, unsigned char *pimage); int (*display_sync)(void *handle, void *device); int (*display_page)(void *handle, void *device, int copies, int flush); int (*display_update)(void *handle, void *device, int x, int y, int w, int h); void *(*display_memalloc)(void *handle, void *device, unsigned long size); int (*display_memfree)(void *handle, void *device, void *mem); }; #define DISPLAY_CALLBACK_V1_SIZEOF sizeof(struct display_callback_v1_s) #endif /* gdevdsp_INCLUDED */ iapi.h000064400000030144147221327550005651 0ustar00/* Copyright (C) 2001-2018 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. Refer to licensing information at http://www.artifex.com or contact Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, CA 94945, U.S.A., +1(415)492-9861, for further information. */ /* * Public API for Ghostscript interpreter * for use both as DLL and for static linking. * * Should work for Windows, OS/2, Linux, Mac. * * DLL exported functions should be as similar as possible to imain.c * You will need to include "ierrors.h". * * Current problems: * 1. Ghostscript does not support multiple instances. * 2. Global variables in gs_main_instance_default() * and gsapi_instance_counter */ /* Exported functions may need different prefix * GSDLLEXPORT marks functions as exported * GSDLLAPI is the calling convention used on functions exported * by Ghostscript * GSDLLCALL is used on callback functions called by Ghostscript * When you include this header file in the caller, you may * need to change the definitions by defining these * before including this header file. * Make sure you get the calling convention correct, otherwise your * program will crash either during callbacks or soon after returning * due to stack corruption. */ #ifndef iapi_INCLUDED # define iapi_INCLUDED #ifdef __cplusplus extern "C" { #endif #if defined(_WINDOWS_) || defined(__WINDOWS__) # ifndef _Windows # define _Windows # endif #endif #ifdef _Windows # ifndef GSDLLEXPORT /* We don't need both the "__declspec(dllexport)" declaration * and the listing in the .def file - having both results in * a linker warning on x64 builds (but is incorrect on x86, too) */ # if 0 # define GSDLLEXPORT __declspec(dllexport) # else # define GSDLLEXPORT # endif # endif # ifndef GSDLLAPI # define GSDLLAPI __stdcall # endif # ifndef GSDLLCALL # define GSDLLCALL __stdcall # endif #endif /* _Windows */ #if defined(OS2) && defined(__IBMC__) # ifndef GSDLLAPI # define GSDLLAPI _System # endif # ifndef GSDLLCALL # define GSDLLCALL _System # endif #endif /* OS2 && __IBMC */ #ifdef __MACOS__ # pragma export on #endif #ifndef GSDLLEXPORT # define GSDLLEXPORT #endif #ifndef GSDLLAPI # define GSDLLAPI #endif #ifndef GSDLLCALL # define GSDLLCALL #endif #if defined(__IBMC__) # define GSDLLAPIPTR * GSDLLAPI # define GSDLLCALLPTR * GSDLLCALL #else # define GSDLLAPIPTR GSDLLAPI * # define GSDLLCALLPTR GSDLLCALL * #endif #ifndef display_callback_DEFINED # define display_callback_DEFINED typedef struct display_callback_s display_callback; #endif typedef struct gsapi_revision_s { const char *product; const char *copyright; long revision; long revisiondate; } gsapi_revision_t; /* Get version numbers and strings. * This is safe to call at any time. * You should call this first to make sure that the correct version * of the Ghostscript is being used. * pr is a pointer to a revision structure. * len is the size of this structure in bytes. * Returns 0 if OK, or if len too small (additional parameters * have been added to the structure) it will return the required * size of the structure. */ GSDLLEXPORT int GSDLLAPI gsapi_revision(gsapi_revision_t *pr, int len); /* * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * Ghostscript supports only one instance. * The current implementation uses a global static instance * counter to make sure that only a single instance is used. * If you try to create two instances, the second attempt * will return < 0 and set pinstance to NULL. * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING */ /* Create a new instance of Ghostscript. * This instance is passed to most other API functions. * The caller_handle will be provided to callback functions. */ GSDLLEXPORT int GSDLLAPI gsapi_new_instance(void **pinstance, void *caller_handle); /* * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * Ghostscript supports only one instance. * The current implementation uses a global static instance * counter to make sure that only a single instance is used. * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING */ /* Destroy an instance of Ghostscript * Before you call this, Ghostscript must have finished. * If Ghostscript has been initialised, you must call gsapi_exit() * before gsapi_delete_instance. */ GSDLLEXPORT void GSDLLAPI gsapi_delete_instance(void *instance); /* Set the callback functions for stdio * The stdin callback function should return the number of * characters read, 0 for EOF, or -1 for error. * The stdout and stderr callback functions should return * the number of characters written. * If a callback address is NULL, the real stdio will be used. */ GSDLLEXPORT int GSDLLAPI gsapi_set_stdio(void *instance, int (GSDLLCALLPTR stdin_fn)(void *caller_handle, char *buf, int len), int (GSDLLCALLPTR stdout_fn)(void *caller_handle, const char *str, int len), int (GSDLLCALLPTR stderr_fn)(void *caller_handle, const char *str, int len)); /* Set the callback function for polling. * This is used for handling window events or cooperative * multitasking. This function will only be called if * Ghostscript was compiled with CHECK_INTERRUPTS * as described in gpcheck.h. * The polling function should return 0 if all is well, * and negative if it wants ghostscript to abort. * The polling function must be fast. */ GSDLLEXPORT int GSDLLAPI gsapi_set_poll(void *instance, int (GSDLLCALLPTR poll_fn)(void *caller_handle)); /* Set the display device callback structure. * If the display device is used, this must be called * after gsapi_new_instance() and before gsapi_init_with_args(). * See gdevdisp.h for more details. */ GSDLLEXPORT int GSDLLAPI gsapi_set_display_callback( void *instance, display_callback *callback); /* Set the string containing the list of default device names * for example "display x11alpha x11 bbox". Allows the calling * application to influence which device(s) gs will try in order * to select the default device * * *Must* be called after gsapi_new_instance() and before * gsapi_init_with_args(). */ GSDLLEXPORT int GSDLLAPI gsapi_set_default_device_list(void *instance, char *list, int listlen); /* Returns a pointer to the current default device string * *Must* be called after gsapi_new_instance(). */ GSDLLEXPORT int GSDLLAPI gsapi_get_default_device_list(void *instance, char **list, int *listlen); /* Set the encoding used for the args. By default we assume * 'local' encoding. For windows this equates to whatever the current * codepage is. For linux this is utf8. * * Use of this API (gsapi) with 'local' encodings (and hence without calling * this function) is now deprecated! */ GSDLLEXPORT int GSDLLAPI gsapi_set_arg_encoding(void *instance, int encoding); enum { GS_ARG_ENCODING_LOCAL = 0, GS_ARG_ENCODING_UTF8 = 1, GS_ARG_ENCODING_UTF16LE = 2 }; /* Initialise the interpreter. * This calls gs_main_init_with_args() in imainarg.c * 1. If quit or EOF occur during gsapi_init_with_args(), * the return value will be gs_error_Quit. This is not an error. * You must call gsapi_exit() and must not call any other * gsapi_XXX functions. * 2. If usage info should be displayed, the return value will be gs_error_Info * which is not an error. Do not call gsapi_exit(). * 3. Under normal conditions this returns 0. You would then * call one or more gsapi_run_*() functions and then finish * with gsapi_exit(). */ GSDLLEXPORT int GSDLLAPI gsapi_init_with_args(void *instance, int argc, char **argv); #ifdef __WIN32__ GSDLLEXPORT int GSDLLAPI gsapi_init_with_argsA(void *instance, int argc, char **argv); GSDLLEXPORT int GSDLLAPI gsapi_init_with_argsW(void *instance, int argc, wchar_t **argv); #endif /* * The gsapi_run_* functions are like gs_main_run_* except * that the error_object is omitted. * If these functions return <= -100, either quit or a fatal * error has occured. You then call gsapi_exit() next. * The only exception is gsapi_run_string_continue() * which will return gs_error_NeedInput if all is well. */ GSDLLEXPORT int GSDLLAPI gsapi_run_string_begin(void *instance, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_string_continue(void *instance, const char *str, unsigned int length, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_string_end(void *instance, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_string_with_length(void *instance, const char *str, unsigned int length, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_string(void *instance, const char *str, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_file(void *instance, const char *file_name, int user_errors, int *pexit_code); #ifdef __WIN32__ GSDLLEXPORT int GSDLLAPI gsapi_run_fileA(void *instance, const char *file_name, int user_errors, int *pexit_code); GSDLLEXPORT int GSDLLAPI gsapi_run_fileW(void *instance, const wchar_t *file_name, int user_errors, int *pexit_code); #endif /* Exit the interpreter. * This must be called on shutdown if gsapi_init_with_args() * has been called, and just before gsapi_delete_instance(). */ GSDLLEXPORT int GSDLLAPI gsapi_exit(void *instance); /* function prototypes */ typedef int (GSDLLAPIPTR PFN_gsapi_revision)( gsapi_revision_t *pr, int len); typedef int (GSDLLAPIPTR PFN_gsapi_new_instance)( void **pinstance, void *caller_handle); typedef void (GSDLLAPIPTR PFN_gsapi_delete_instance)( void *instance); typedef int (GSDLLAPIPTR PFN_gsapi_set_stdio)(void *instance, int (GSDLLCALLPTR stdin_fn)(void *caller_handle, char *buf, int len), int (GSDLLCALLPTR stdout_fn)(void *caller_handle, const char *str, int len), int (GSDLLCALLPTR stderr_fn)(void *caller_handle, const char *str, int len)); typedef int (GSDLLAPIPTR PFN_gsapi_set_poll)(void *instance, int(GSDLLCALLPTR poll_fn)(void *caller_handle)); typedef int (GSDLLAPIPTR PFN_gsapi_set_display_callback)( void *instance, display_callback *callback); typedef int (GSDLLAPIPTR PFN_gsapi_set_default_device_list)( void *instance, char *list, int listlen); typedef int (GSDLLAPIPTR PFN_gsapi_get_default_device_list)( void *instance, char **list, int *listlen); typedef int (GSDLLAPIPTR PFN_gsapi_init_with_args)( void *instance, int argc, char **argv); #ifdef __WIN32__ typedef int (GSDLLAPIPTR PFN_gsapi_init_with_argsA)( void *instance, int argc, char **argv); typedef int (GSDLLAPIPTR PFN_gsapi_init_with_argsW)( void *instance, int argc, wchar_t **argv); #endif typedef int (GSDLLAPIPTR PFN_gsapi_set_arg_encoding)( void *instance, int encoding); typedef int (GSDLLAPIPTR PFN_gsapi_run_string_begin)( void *instance, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_string_continue)( void *instance, const char *str, unsigned int length, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_string_end)( void *instance, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_string_with_length)( void *instance, const char *str, unsigned int length, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_string)( void *instance, const char *str, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_file)(void *instance, const char *file_name, int user_errors, int *pexit_code); #ifdef __WIN32__ typedef int (GSDLLAPIPTR PFN_gsapi_run_fileA)(void *instance, const char *file_name, int user_errors, int *pexit_code); typedef int (GSDLLAPIPTR PFN_gsapi_run_fileW)(void *instance, const wchar_t *file_name, int user_errors, int *pexit_code); #endif typedef int (GSDLLAPIPTR PFN_gsapi_exit)(void *instance); #ifdef __MACOS__ #pragma export off #endif #ifdef __cplusplus } /* extern 'C' protection */ #endif #endif /* iapi_INCLUDED */ COPYING000064400000103330147221544420005604 0ustar00 GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software. A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public. The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version. An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU Affero General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Remote Network Interaction; Use with the GNU General Public License. Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . LICENSE000064400000006277147221544420005572 0ustar00The files in the base, psi, lib, toolbin, examples, doc, man and iccprofiles directories (folders), and pcl, xps and gpdl directories (folders), if included, and any subdirectories (sub-folders) thereof are part of GPL Ghostscript. The files in the Resource directory and any subdirectories thereof are also part of GPL Ghostscript, with the explicit exception of the files in the CMap subdirectory (except "Identity-UTF16-H", which is part of GPL Ghostscript). The CMap files are copyright Adobe Systems Incorporated and covered by a separate, Affero GPL compatible license. Additionally, the font files (in Resource/Font) are distributed under the AGPL with the following exemption: As a special exception, permission is granted to include these font programs in a Postscript or PDF file that consists of a document that contains text to be displayed or printed using this font, regardless of the conditions or license applying to the document itself. The files under the jpegxr directory and any subdirectories thereof are distributed under a no cost, open source license granted by the ITU/ISO/IEC but it is not Affero GPL compatible - see jpegxr/COPYRIGHT.txt for details. GPL Ghostscript is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GPL Ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program so you can know your rights and responsibilities. It should be in a file named doc/COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. --- GPL Ghostscript contains an implementation of techniques covered by US Patents 5,055,942 and 5,917,614, and corresponding international patents. These patents are licensed for use with GPL Ghostscript under the following grant: Whereas, Raph Levien (hereinafter "Inventor") has obtained patent protection for related technology (hereinafter "Patented Technology"), Inventor wishes to aid the the GNU free software project in achieving its goals, and Inventor also wishes to increase public awareness of Patented Technology, Inventor hereby grants a fully paid up, nonexclusive, royalty free license to practice the patents listed below ("the Patents") if and only if practiced in conjunction with software distributed under the terms of any version of the GNU Affero General Public License as published by the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111. Inventor reserves all other rights, including without limitation, licensing for software not distributed under the GNU Affero General Public License. 5055942 Photographic image reproduction device using digital halftoning to screen images allowing adjustable coarseness 5917614 Method and apparatus for error diffusion screening of images with improved smoothness in highlight and shadow regions