Bug #1080

+g in labelinfo for -Sq (quoted line) in psxy affects all pen styles

Added by Andreas 4 months ago. Updated 4 months ago.

Status:ClosedStart date:2017-04-14
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.3-svn Platform:

Description

When plotting a quoted line with psxy, having a +g in the - Sq(..):labelinfo appears to affect the style of all pens that are plotted after (not width and color - only style).

Best served with an example.

In psxy_q_with_g.pdf I'm giving - SqD20k:+gwhite(..) to psxy which causes the frame pen and blue line to inherit the style from

-Wthick,red,-

If I omit the +g (psxy_q_without_g.pdf), this does not happen.

If you have many calls to psxy -Sq(..), all pens will inherit the style from the last psxy -W(...) -Sq(..):+g(..) command given (I can provide an example of this if wanted).

Using 5.3.3

psxy_q.bat (984 Bytes) Andreas, 2017-04-14 23:57

psxy_q_with_g.pdf (104 KB) Andreas, 2017-04-14 23:57

psxy_q_without_g.pdf (104 KB) Andreas, 2017-04-14 23:57

History

#1 Updated by Paul 4 months ago

  • Status changed from New to Resolved
  • Assignee set to Paul
  • Target version set to Candidate for next bugfix release
  • % Done changed from 0 to 100

The pen texture needed to be reset at the end of the quoted line machinery. Fixed in r17958 and I added a new test based on your script to our suite. Thanks for pointing it out.

#2 Updated by Paul 4 months ago

  • Status changed from Resolved to Closed

Closing this as fixed.

Also available in: Atom PDF