From: Alan W. I. <ir...@be...> - 2001-10-26 18:59:40
|
BTW, for those who have not had a look, the patch Joao pointed out is just a one-line change. I am not a driver expert so I am hesitant to apply it. But I feel it is important for the overall health of the plplot project and our sanity to give small changes like this high priority because then our ToDo lists don't get bogged down with zillions of petty details. Thus, would some driver expert here take a quick look at this and either apply it or not so we can close the bug? Thanks. Alan Here is the full bug report from some anonymous plplot user: It seems that the pladv() preserves the pen width. However, the ps driver reset pen width to default value. The following patch is necessary? diff -u -r plplot-5.0.4/drivers/ps.c plplot-5.0.4.modified/drivers/ps.c --- plplot-5.0.4/drivers/ps.c Wed Jun 6 05:01:39 2001 +++ plplot-5.0.4.modified/drivers/ps.c Mon Jul 2 14:52:21 2001 @@ -398,6 +398,7 @@ /* This ensures the color is set correctly at the beginning of each page */ plD_state_ps(pls, PLSTATE_COLOR0); + plD_state_ps(pls, PLSTATE_WIDTH); } |