bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60955] [troff] reject "f" scaling indicator in unreasonable contex


From: G. Branden Robinson
Subject: [bug #60955] [troff] reject "f" scaling indicator in unreasonable contexts
Date: Wed, 21 Jul 2021 16:15:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]