bugGNU roff - Bugs: bug #60955, [troff] reject "f"...

 
 

bug #60955: [troff] reject "f" scaling unit in unreasonable contexts

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Wed 21 Jul 2021 08:14:59 PM UTC
   
 
Category:  Core Severity:  1 - Wish
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
   

Fri 16 Jun 2023 10:45:01 AM UTC, comment #2: 

comment #1:

> We're migrating to the term "scaling unit".


...per reasons given in bug #60957.

Dave <barx>
Group Member
Tue 25 Apr 2023 02:35:08 PM UTC, comment #1: 

We're migrating to the term "scaling unit".

G. Branden Robinson <gbranden>
Group administrator
Wed 21 Jul 2021 08:14:59 PM UTC, original submission:  

The "f" scale unit (thanks to Ingo Schwarze for this new terminology) is applied only to dimensionless quantities (the intensity of a luma or chroma channel in a color space), and is itself dimensionless.

While it's possible for people to use "f" with a length measurement, it's likely not done seriously in practice except in error.

See how easy it would be to get src/roff/troff/number.cpp:552-581 to handle this.

It would also be good to reject the complementary form of nonsense.


.defcolor green rgb 2i 5c 3p


A type system was lying right there the whole time... :-/

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 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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-16 barx Carbon-CopyRemoved 93119 -
    2023-04-25 gbranden Summary[troff] reject &quot;f&quot; scaling indicator in unreasonable contexts [troff] reject "f" scaling unit in unreasonable contexts
    2022-01-11 gbranden Item GroupNone Warning/Suspicious behaviour

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code