Skip Menu |

This queue is for tickets about the PostScript-Simple CPAN distribution.

Report information
The Basics
Id: 106860
Status: new
Priority: 0/
Queue: PostScript-Simple

People
Owner: Nobody in particular
Requestors: cwallace [...] lodgingcompany.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Colour->grey mapping goes to (nearly) black
Date: Thu, 3 Sep 2015 12:51:07 -0700
To: bug-PostScript-Simple [...] rt.cpan.org
From: Chad Wallace <cwallace [...] lodgingcompany.com>
In PostScript::Simple version 0.09, if the colour option is set to 0 (greyscale only), setting a colour turns it black. So, in my document when I set a shaded background on alternate rows, it looks like half the document has been redacted (blacked out). In the code for sub setcolour, at line 1023, the grey level is divided by 255. But the $r, $g, and $b variables, which were used to calculate the grey level, were already divided by 255, so that extra division basically turns every colour into black. Thanks! -- C. Chad Wallace, B.Sc. The Lodging Company http://www.lodgingcompany.com/ OpenPGP Public Key ID: 0x262208A0