summaryrefslogtreecommitdiff
path: root/print/ghostscript9/files/patch-base-gdevplib.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2012-02-12 18:10:49 +0000
committerHiroki Sato <hrs@FreeBSD.org>2012-02-12 18:10:49 +0000
commit7ef6ca440998a75973c31ff5cc0c709a89f2dd2a (patch)
tree7920a472200743adf275b7c567a8d956d1758868 /print/ghostscript9/files/patch-base-gdevplib.c
parent- convert to using PYTHON_INCLUDEDIR (diff)
Update to 9.05. Changes include:
- Ghostscript's PDF interpreter is now able to make use of the DroidSansFallback TrueType font to automatically substitute for missing CIDFonts. Whilst it is always best to ensure the original CIDFont is available for the best and most accurate output, the ability to make an automatic substitution will be valuable for those merely viewing or proofing such files. - This release includes support for a proofing ICC profile. The command option is specified using -sProofProfile=filename. With this option, the color output will emulate what would be obtained had the source file been rendered on a device defined by the proofing profile. (See GS9_Color_Management.pdf for details.) - This release includes support for a device link ICC profile. The command option is specified using -sDeviceLinkProfile=filename. With this option, the device link profile is added to the end of the link transform from source to destination. In this case, one can include a command line option like "-sDevice=tiff32nc -sOutputICCProfile=srgb.icc -sDeviceLinkProfile=linkRGBtoCMYK.icc" and source colors will be mapped through sRGB and through the device link profile to CMYK values for the device. - Ghostscript now supports "unmanaged color transformations" for source DeviceXXX colors (in other words, they use a simple conversion, rather than the ICC profile based color workflow). This is beneficial in uses where performance takes precedence over ultimate color fidelity (the command line parameter -dUseFastColor enables this). - The font set distributed with Ghostscript has been changed to the standard 35 Postscript-compatible fonts distributed by URW. - Ghostscript now includes a simple ink-coverage device, contributed by Sebastian Kapfer (inkconv). - The TIFF, JPEG and PNG output devices now support embedding of the device ICC profile in the output file. - Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding (replacing JasPer). Performance, reliability and memory use whilst decoding JPX streams are all improved - jbig2dec now has simple halftone region support - The ps2write device has had a large number of output quality and stability improvements.
Diffstat (limited to '')
-rw-r--r--print/ghostscript9/files/patch-base-gdevplib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript9/files/patch-base-gdevplib.c b/print/ghostscript9/files/patch-base-gdevplib.c
new file mode 100644
index 000000000000..96a096337dd3
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-gdevplib.c
@@ -0,0 +1,14 @@
+--- base/gdevplib.c.orig 2012-02-08 17:48:47.000000000 +0900
++++ base/gdevplib.c 2012-02-13 01:23:46.000000000 +0900
+@@ -151,7 +151,11 @@
+
+ #ifdef TESTING_WITH_NO_BAND_DONOR
+
++#if !defined(__FreeBSD__)
+ #include <malloc.h>
++#else
++#include <stdlib.h>
++#endif
+
+ static void *my_buffer;
+