makes ps2pdf work. This fix is entirely due to rsc who emailed me the change, I am only submitting it to push it into the distribution in case it gets lost. -Steve Reference: /n/sources/patch/applied/ps2pdf-fixed Date: Wed Aug 29 00:28:30 CES 2007 Signed-off-by: steve@quintile.net --- /sys/src/cmd/gs/src/gshtscr.c Wed Aug 29 00:23:55 2007 +++ /sys/src/cmd/gs/src/gshtscr.c Wed Aug 29 00:23:50 2007 @@ -604,7 +604,7 @@ if (value < -1.0 || value > 1.0) return_error(gs_error_rangecheck); - sample = (int) (value * max_ht_sample) + max_ht_sample; + sample = (long long) (value * max_ht_sample) + max_ht_sample; #ifdef DEBUG if (gs_debug_c('H')) { gs_point pt;