Follow-up Comment #16, bug #68256 (group groff): Results from my working copy, using the changes alluded to in bug #68445.
$ printf '.bd S R 4M\nGoodbye \(mu cruel world\[r!]
\n'| ./build/test-groff -Z
troff:<standard input>:1: debug: GBR: emboldening is conditional because first
argument starts with non-numeral, character 'S'
troff:<standard input>:1: debug: GBR: embolden_font_request(): CASE 1:
enabling conditional emboldening of S by 400 when mounting position 5
selected
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
md
DFd
V12000
H72000
tGoodbye
wx font 11 S
f11
h2500
Cmu
h399
Cmu
wf5
h7990
tcruel
wh2500
tw
H149159
torld
Cr!
h3330
n12000 0
x trailer
V792000
x stop
And here's your example from comment #14.
$ cat ATTIC/68256-deri.groff
.ps 18
.vs 22
.nf
.ft B \" using TB
This is bold
3 \[mu] 3 = 9
lets strengthen the symbol
.bd S B 4M
3 \[mu] 3 = 9
$ ./build/test-groff ATTIC/68256-deri.groff | okular -
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
troff:ATTIC/68256-deri.groff:8: debug: GBR: emboldening is conditional because
first argument starts with non-numeral, character 'S'
troff:ATTIC/68256-deri.groff:8: debug: GBR: embolden_font_request(): CASE 1:
enabling conditional emboldening of S by 720 when mounting position 38
selected
Here's an illustration of the quartet of {non-,}conditional {un,}emboldening.
$ printf '.bd S 3 9\n' | ./build/test-groff -ww 2>&1 | grep . || echo NO
OUTPUT
troff:<standard input>:1: debug: GBR: emboldening is conditional because first
argument starts with non-numeral, character 'S'
troff:<standard input>:1: debug: GBR: embolden_font_request(): CASE 1:
enabling conditional emboldening of S by 9 when mounting position 38 selected
$ printf '.bd S 3\n' | ./build/test-groff -ww 2>&1 | grep . || echo NO OUTPUT
troff:<standard input>:1: debug: GBR: emboldening is conditional because first
argument starts with non-numeral, character 'S'
troff:<standard input>:1: debug: GBR: embolden_font_request(): CASE 2:
disabling conditional emboldening of S when mounting position 38 selected
$ printf '.bd 1 2\n' | ./build/test-groff -ww 2>&1 | grep . || echo NO OUTPUT
troff:<standard input>:1: warning: interpreting second argument to font
emboldening request as emboldening amount; use a font name instead of a
mounting position as the first argument if conditional emboldening desired [-w
style]
troff:<standard input>:1: debug: GBR: embolden_font_request(): CASE 3:
enabling emboldening mounting position 5 by 2
$ printf '.bd 1\n' | ./build/test-groff -ww 2>&1 | grep . || echo NO OUTPUT
troff:<standard input>:1: debug: GBR: embolden_font_request(): CASE 4:
disabling emboldening of mounting position 5
(file #58711)
_______________________________________________________
Additional Item Attachment:
Name: savannah-68256-gbr.png Size: 33KiB
<https://file.savannah.gnu.org/file/savannah-68256-gbr.png?file_id=58711>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68256>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
