[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60916] [mm] ms.cov asks for fonts by name, making man page dubious
From: |
G. Branden Robinson |
Subject: |
[bug #60916] [mm] ms.cov asks for fonts by name, making man page dubious |
Date: |
Fri, 16 Jul 2021 22:14:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #2, bug #60916 (project groff):
[comment #1 comment #1:]
>
> [comment #0 original submission:]
> > Rather than porting ms.cov to use the antiquated feature of font
positions, I propose to move the rest of mm back to the named font mechanism,
adapting HF as conceived above. People can use the `ftr` request to replace
font (styles) instead of `fp` (indeed the former feature was already in groff
in 2006).
>
> Does this mean that you *won't* be able to specify the font positions
numbers in HF? This would break existing documents.
Hi Kurt!
No, I just had in mind changing the HF string default to use the style names
instead of the positions. Nothing deeper.
Near as I can tell, that shouldn't break anything. HF is not tangled up with
much in mm. It's defined in one place and dereferenced in one place.
89 .\" header format
90 .ds HF 2 2 2 2 2 2 2 2 2 2 2 2 2 2
1054 .\" size and font calculations
1055 .hd@split hd*font \\n[hd*level] HF \\*[HF]\" get font for this level
1056 .ft \\*[hd*font]\" set new font
(hd@split is basically an array element extractor.)
But I'm only now learning mm by hacking on it. If you can think of something
I'm missing, please tell me.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60916>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/