b5a670a4ad
- Improvements to overprint and spot color support in documents with transparency, improvements to PDF and PS output, proper handling of PDF-specific text rendering modes and support for reading AES-encrypted PDF documents. - Improved handling of CJK text, especially in vertical writing modes. - Improved memory footprint processing some files at high resolution. - The handling of color spaces has been moved from PostScript code to C. - A number of the included printer drivers and cups wrappers have been updated to support a PDF-based workflow. Also fixed are several long-standing bugs in the pcl drivers with respect to duplex, resolution and paper tray selection.
19 lines
529 B
C
19 lines
529 B
C
--- base/gdevvglb.c.orig Tue Sep 25 22:31:24 2007
|
|
+++ base/gdevvglb.c Sat Nov 24 23:00:49 2007
|
|
@@ -149,10 +149,13 @@
|
|
}
|
|
|
|
static gx_color_index
|
|
-vgalib_map_rgb_color(gx_device * dev, gx_color_value red,
|
|
- gx_color_value green, gx_color_value blue)
|
|
+vgalib_map_rgb_color(gx_device * dev, const gx_color_value cv[])
|
|
{
|
|
- return pc_4bit_map_rgb_color(dev, red, green, blue);
|
|
+ gx_color_value r = cv[0];
|
|
+ gx_color_value g = cv[1];
|
|
+ gx_color_value b = cv[2];
|
|
+
|
|
+ return pc_4bit_map_rgb_color(dev, cv);
|
|
}
|
|
|
|
static int
|