Is this actually a bug? Example 12 uses plcol1 to set the colour for the
boxes in a box chart, then plots text. The text comes out in the same 
(cmap0) colour even though the boxes change colour. I've checked with 
xwin / psc / wxwidgets / qt and cairo drivers and all seem to do the 
same thing.

Phil, if you are on the list can you provide us with a short demonstration
to illustrate what you mean?

Andrew

On Sun, Jan 15, 2012 at 07:41:48AM -0800, SourceForge.net wrote:
> Bugs item #3474186, was opened at 2012-01-15 07:41
> Message generated for change (Tracker Item Submitted) made by philrosenberg
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3474186&group_id=2915
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: None
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Phil Rosenberg (philrosenberg)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: wxWidgets dc and gc driver on uses cmap0 for text
> 
> Initial Comment:
> When drawing text using the dc and gc wxWidgets driver it always uses cmap0 
> colours. Setting the foreground colour using cmap1 has no effect upon the 
> text colour. I think from looking at the code (but I have not checked) that 
> the agg wxWidgets text colour can be set by either cmap0 or cmap1. I've 
> checked the psc driver and this allows setting the colour using cmap1. This 
> behaviour is not documented in the manual as far as I can see.
> 
> This can be fixed by editing the wxPLDevDC::ProcessString function in 
> wxwidgets_dc.cpp and wxwidgets_gc.cpp - the appropriate lines are pretty 
> obvious.
> 
> I'm sorry I can't submit a patch but I only have access to a windows machine 
> so don't have access to diff, which I think is needed for creating patches
> 
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3474186&group_id=2915
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to