Follow-up Comment #36, bug #63354 (group groff):
Maybe comment #34 and comment #35 are overthinking this.
The requirement for U+2012 is that it occupy the same horizontal space as a
figure. There is no requirement on the width of the mark itself.
So what if the fallback simply uses the font's hyphen centered within a
figure's width?
. char \[u2012] \o\# Overstrike...
'-\# a hyphen and...
\h\# a horizontal space...
^\w'0'u^'\" the width of a zero.
This removes all considerations of generating a horizontal line at the same
height as the font's existing hyphens and dashes. It solves the second and
third of the "potential implementation issues" comment #35 raises. (I still
see no way around the first, but the current fallbacks.tmac \[u2012] already
has this drawback.)
It might even be simple enough that the internal commenting is overkill:
. \" Overstrike a hyphen and a horizontal space the width of a zero.
. char \[u2012] \o'-\h^\w'0'u^'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63354>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/