Follow-up Comment #2, bug #64233 (group groff):
commit c7f4885869b2db096f78bd30e685253cdc4b3891 Author: G. Branden Robinson <g.branden.robin...@gmail.com> Date: Mon Sep 2 01:58:36 2024 -0500 [troff]: `kern` req now works like `color` et al. The `kern` request now interprets arguments with negative values as instructions to disable the corresponding feature, using the *roff integer-to-Boolean conversion idiom instead of the C/C++ one. Thus, if you invoke this request with a register interpolation, the outcome agrees with an `if` test of the register's value. * src/roff/troff/node.cpp: Demote type of global `global_kern_mode` from `int` to `bool`. (set_kerning_mode): Assign value to `global_kern_mode` using *roff integer-to-Boolean conversion idiom. When no argument is present, assign using Boolean, not integer, literal. (init_node_requests): Back `.kern` register with an object of class `readonly_boolean_register` instead of `readonly_register`. * doc/groff.texi.in (Ligatures and Kerning): * man/groff.7.man (Request short reference): * man/groff_diff.7.man (New requests): * NEWS: Document it. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64233> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature