Follow-up Comment #8, bug #68256 (group groff): Using the first form of .bd my understanding is that groff treats current text font as the glyphs in the current font plus any glyphs available in specials, i.e. all glyphs available without switching text fonts. So if you 'bd' the current text font all the glyphs available at that point will appear bolded, including specials, but if you switch to a non-bd font the same special glyph is not bolded. See line 8.
I can't get the second form to work without using font names rather than font
positions.
.bd S 3 2400
Yields the warning:-
troff:bd.trf:15: warning: ignoring third argument to font emboldening request
when first interpreted as mounting position and second as emboldening amount
So I have to use:-
.bd S TB 2400
To achieve the conditional emboldening.
I don't have a problem with the logic if you document that the first form of
bolding applies to all glyphs available when the text font is selected, which
includes any specials. And the second form requires both font1 and font2 to be
by name not position.
.ps 24
.vs 30
.nf
This is \fIgroff\fP \n(.x.\n(.y.\n(.Y.
3 \(mu 3 = 9
.bd TR 2400
.ft TR
3 \(mu 3 = 9 overstrike \fIall (\(mu)\fP glyphs by \n(.b units
.bd TR
.ft TB
Selecting bold font.
3 \(mu 3 = 9
Now see if the times sign appears overstruck.
.bd S TB 2400
3 \(mu 3 = 9
(file #58488)
_______________________________________________________
Additional Item Attachment:
Name: bd.pdf Size: 19KiB
<https://file.savannah.gnu.org/file/bd.pdf?file_id=58488>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.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
