bugGNU roff - Bugs: bug #64308, [troff] should warn of negative...

 
 

bug #64308: [troff] should warn of negative arguments to \D'{c,e,E}' drawing commands

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Fri 16 Jun 2023 03:36:00 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 18 Jun 2023 01:15:33 AM UTC, comment #2: 


comment #1:

>   The graphics functions are still not understood.


I'm working on that.

>   The claim, hypothesis, theory or imagination have not be confirmed by
> a real experiment.


You can always perform experiments yourself, as I do...

G. Branden Robinson <gbranden>
Group administrator
Sat 17 Jun 2023 05:33:16 PM UTC, comment #1: 

  The graphics functions are still not understood.

  The claim, hypothesis, theory or imagination have not be confirmed by
a real experiment.

Bjarni Ingi Gislason <bjarniig>
Fri 16 Jun 2023 03:36:00 AM UTC, original submission:  

It doesn't make any sense for a circle to have a negative diameter or an ellipse to have axes of negative length.

Yet GNU troff accepts this and happily delivers this nonsense to output drivers.

It should not.


$ groff -Z
\D'e -5 -2'
<Control+D>
x T ps
x res 72000 1 1
x init
p1
V12000
H72000
md
DFd
s10000
De -50000 -24000
n12000 0
x trailer
V792000
x stop
$ groff -Z
\D'c -10'
<Control+D>
x T ps
x res 72000 1 1
x init
p1
V12000
H72000
md
DFd
s10000
Dc -100000
n12000 0
x trailer
V792000
x stop


G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bjarniig (Posted a comment)
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code