Ghostscript version upgrade to 9.18rc1 (first release candidate for 9.18) OBS-URL: https://build.opensuse.org/request/show/333702 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=55
39 lines
2.4 KiB
Diff
39 lines
2.4 KiB
Diff
--- base/gximono.c.orig 2015-09-23 16:04:26.000000000 +0200
|
|
+++ base/gximono.c 2015-09-24 11:56:42.000000000 +0200
|
|
@@ -1065,7 +1065,7 @@ image_render_mono_ht(gx_image_enum * pen
|
|
dda_next(dda_ht);
|
|
xn = fixed2int_var_rounded(dda_current(dda_ht));
|
|
while (xr < xn) {
|
|
- dev_value = color_cache[*psrc * spp_out];
|
|
+ dev_value = &(color_cache[*psrc * spp_out]);
|
|
for (j = 0; j < spp_out; j++) {
|
|
*(devc_contone[j])++ = dev_value[j];
|
|
}
|
|
@@ -1097,7 +1097,7 @@ image_render_mono_ht(gx_image_enum * pen
|
|
dda_next(dda_ht);
|
|
xn = fixed2int_var_rounded(dda_current(dda_ht));
|
|
while (xr > xn) {
|
|
- dev_value = color_cache[*psrc * spp_out];
|
|
+ dev_value = &(color_cache[*psrc * spp_out]);
|
|
for (j = 0; j < spp_out; j++) {
|
|
*(devc_contone[j])-- = dev_value[j];
|
|
}
|
|
@@ -1135,7 +1135,7 @@ image_render_mono_ht(gx_image_enum * pen
|
|
dda_next(dda_ht);
|
|
xn = fixed2int_var_rounded(dda_current(dda_ht));
|
|
while (xr > xn) {
|
|
- dev_value = color_cache[*psrc * spp_out];
|
|
+ dev_value = &(color_cache[*psrc * spp_out]);
|
|
for (j = 0; j < spp_out; j++) {
|
|
*(devc_contone[j] + position) = dev_value[j];
|
|
position -= LAND_BITS;
|
|
@@ -1172,7 +1172,7 @@ image_render_mono_ht(gx_image_enum * pen
|
|
dda_next(dda_ht);
|
|
xn = fixed2int_var_rounded(dda_current(dda_ht));
|
|
while (xr < xn) {
|
|
- dev_value = color_cache[*psrc * spp_out];
|
|
+ dev_value = &(color_cache[*psrc * spp_out]);
|
|
for (j = 0; j < spp_out; j++) {
|
|
*(devc_contone[j] + position) = dev_value[j];
|
|
devc_contone[j] += LAND_BITS;
|