Bug #1242

error message for pslegend

Added by Russ 15 days ago. Updated 15 days ago.

Status:ResolvedStart date:2018-05-07
Priority:LowDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:other Platform:Windows

Description

A call to pslegend that does not include a +w(width) entry in the -D argument is apparently meant (in 5.x) to return an error message (according to Paul):

-D[g|j|J|n|x]<refpoint>+w<width>[/<height>][+l<spacing>][+o<dx>[/<dy>]]

The following call (in 5.4.3):

pslegend <<END -Dx16/3 -V >fred.ps
S 0.5 + 1.0  - 2,black 1.5 Fred
END

gave an error:
pslegend: Warning: x16 not a valid number and may not be decoded properly.

History

#1 Updated by Paul 15 days ago

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

I have fixed the parsing of old-style -D arguments in trunk and 5.4 branch so that more helpful messages are given. In your case you did not specify any width, for instance. In r20106.

Also available in: Atom PDF