URL:
<https://savannah.gnu.org/bugs/?60955>
Summary: [troff] reject "f" scaling indicator in unreasonable
contexts
Project: GNU troff
Submitted by: gbranden
Submitted on: Wed 21 Jul 2021 08:14:59 PM UTC
Category: Core
Severity: 1 - Wish
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
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... :-/
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60955>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/