Update of bug #68522 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.26.0
_______________________________________________________
Follow-up Comment #4:
commit 1ef9c6e4caa9ea80ac978b93f3d5f058919e24dd
Author: G. Branden Robinson <[email protected]>
Date: Tue Nov 24 14:04:28 2026 -0600
src/roff/troff/node.cpp: Add `pft` request.
* src/roff/troff/node.cpp (print_font_properties_request): New function
reports font properties that are bound to the font itself (globally),
rather than to the environment (as type size, height, and slant are).
(init_node_requests): Wire up "pft" name to new function.
Begins fixing <https://savannah.gnu.org/bugs/?68522>.
Illustration:
$ for id in 1 R TR S; do echo .pft $id | ./build/test-groff; done
font mounting position 1 resolves to mounting position 5
identifier: TR
description file name: TR
marked as special in description file: no
zoom factor: 0 (none)
emboldening: none
font 'R' resolves to mounting position 5
identifier: TR
description file name: TR
marked as special in description file: no
zoom factor: 0 (none)
emboldening: none
font 'TR'
identifier: TR
description file name: TR
marked as special in description file: no
zoom factor: 0 (none)
emboldening: none
font 'S'
identifier: S
description file name: S
marked as special in description file: yes
zoom factor: 0 (none)
emboldening: none
commit 138f43072b5dc38ba2f3fe1a5da93cfd39af5833
Author: G. Branden Robinson <[email protected]>
Date: Tue Nov 24 15:13:10 2026 -0600
[groff]: Unit-test `pft` request.
* src/roff/groff/tests/error-pft-request-given-bogus-argument.sh
* src/roff/groff/tests/pft-request-works.sh: New files; do it.
* src/roff/groff/groff.am: Update `groff_TESTS` to run tests.
Continues fixing <https://savannah.gnu.org/bugs/?68522>.
commit e9db4c6b0fb3aecd6a1e7f01b133d2585e62d1a2
Author: G. Branden Robinson <[email protected]>
Date: Tue Nov 24 15:25:21 2026 -0600
[doc,man]: Document new `pft` request.
* doc/groff.texi.in (Debugging):
* man/groff.7.man.in (Request short reference):
* man/groff_diff.7.man (New requests): Do it.
Fixes <https://savannah.gnu.org/bugs/?68522>.
NEWS: Add item.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68522>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
