On 5 May 2002 at 16:24, Bill Janssen wrote:

> at a dump of the function codes in a text record, every paragraph
> starts off with a 5-byte header that sets the foreground color to
> black.  That seems to be nuts (aside from wasting space).  I'm going
> to take it out of the parser.

It has been awhile since color support was written in. I specifically remember this 
issue, what 
a pain / waste of 5 bytes to reset every paragraph back to black, and having to go 
back to the 
parser and write this in. I unfortunately can't think of what that reason was, though  
my 
impression is that it had something to do with either jumping into the middle of a 
document in 
a search or load. Please feel free though to mod away though, I am sure the 
implementation can 
be made more efficient than it currently is (the hash table for color names was a good 
example 
of such streamlining).

Every image I believe will also have color switches so not drawn a b&w image in red 
unless 
specified. If modifying the color in parser, may wish to change that too.

A color test page for the different color handling behaviors in Plucker, that may be 
helpful to 
you as you mod, is available at:
http://www.rob.md/projects/plucker/2001_10_06/color_test.htm

and screens of the expected output at:
http://www.rob.md/projects/plucker/2001_10_06/index.htm

Best wishes,
Robert

Reply via email to