bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63354] Refine fallbacks.tmac


From: Dave
Subject: [bug #63354] Refine fallbacks.tmac
Date: Sun, 3 Mar 2024 18:18:08 -0500 (EST)

Follow-up Comment #33, bug #63354 (group groff):

Bjarni's proposed \[u2012] definition in comment #26 has two problems.
* It relies on a register (lfiguredash) that calculates the width of a zero
and a hair space based on the font size at the time the register is defined. 
This value will thus be incorrect at any other font size used later in the
document.
* It emits an extraneous apostrophe.  This input:

.nr lfiguredash \w'0'u-(2*\w'\^'u)
.char \[u2012] \^\v'-0.3m'\D'l \n[lfiguredash]u 0m'\v'0.3m\^'
.rm lfiguredash
.
1\[u2012]2\[u2012]3

produces the attached typeset output.

(file #55773)

    _______________________________________________________

Additional Item Attachment:

File name: figuredash.png                 Size:0 KB
    <https://file.savannah.gnu.org/file/figuredash.png?file_id=55773>


    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-04b18e1179b14c0ef710c8e9c8e59d1e4bcd7bd0.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63354>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]