bug-groff
[Top][All Lists]
Advanced

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

[bug #64505] [troff] `fzoom` should not accept a mounting position or ab


From: G. Branden Robinson
Subject: [bug #64505] [troff] `fzoom` should not accept a mounting position or abstract font name as argument
Date: Wed, 2 Aug 2023 11:20:29 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64505>

                 Summary: [troff] `fzoom` should not accept a mounting
position or abstract font name as argument
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Wed 02 Aug 2023 03:20:27 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 02 Aug 2023 03:20:27 PM UTC By: G. Branden Robinson <gbranden>
The formatter behaves unpredictably and weirdly if `fzoom` is given a mounting
position or abstract font name as its first argument.


$ cat EXPERIMENTS/fzoom-position.groff.fam T
.fzoom 1 500 \" or s/1/R/
Times,
.fam H
.fzoom HR 900
Helvetica,
.fam P
.fzoom PR 1200
Palatino,
.fzoom CR 1100
and \f[CR]Courier\f[].
.fam T
Times again.
.br
\F[T]FONT
\F[H]FONT
\F[P]FONT
\F[C]FONT


Take out the first line to observe well-behaved formatting.

The request should reject such attempts with an error diagnostic, and do
nothing.








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64505>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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