[Top][All Lists]

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

[bug #50917] Make \- consistently render as U+002D across all macro sets

From: Ingo Schwarze
Subject: [bug #50917] Make \- consistently render as U+002D across all macro sets and devices
Date: Tue, 2 May 2017 13:04:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:53.0) Gecko/20100101 Firefox/53.0


                 Summary: Make \- consistently render as U+002D across all
macro sets and devices
                 Project: GNU troff
            Submitted by: schwarze
            Submitted on: Tue 02 May 2017 05:04:49 PM UTC
                Severity: 3 - Normal
              Item Group: Wishlist
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



The attached patch has the following parts:

* src/libs/libgroff/glyphuni.cpp
  This is the main mapping change.
* src/libs/libgroff/uniglyph.cpp
  The reverse direction for consistency.
* tmac/an-old.tmac tmac/doc.tmac-u PROBLEMS
  Remove redefinitions that are now obsolete
  because they are now done for all macro sets.
* man/groff_char.7.man font/devutf8/NOTES
  Adjust documentation for \- and U+002D.

No changes are needed for devascii, devlatin1, devhtml.
As far as i understand, devps and devpdf are fine, too.
A brief look at some of the vendor-specific devices
gives me the impression that those probably don't need
changes, either.  If somebody who is more experienced
with the ps, pdf, and vendor-specific drivers could
cross-check, that would be welcome.  Otherwise, any
omissions in those other drivers can be fixed later
if and when any are found.

The motivation for this change is that right now, as observed by Ralph
Corderoy, there is no way to request a U+002D HYPHEN-MINUS output glyph that
works across all macro sets and devices, even though that is often needed when
documentation programming language syntax or quoting code samples.  For more
details, see the ongoing dicussion on <address@hidden>.


File Attachments:

Date: Tue 02 May 2017 05:04:49 PM UTC  Name: bs-minus.patch  Size: 4kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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