bugGNU roff - Bugs: bug #64815, gxditview renders '\-' as '-' (a...

 
 

bug #64815: gxditview renders '\-' as '-' (a short line segment like a hyphen)

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 25 Oct 2023 11:59:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Rendering/Cosmetics Status:  Invalid
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 Oct 2023 01:08:27 PM UTC, comment #1: 

original submission:

> Subject: gxditview renders '\-' as '-' (a short line segment like a hyphen)
>
>   In groff/build/src/devices/xditview/
>
> 1) groff -man -Z -TX100-12 gxditview.1 > gxditview.1.Z
>
> 2) gxditview gxditvew.1.Z
>
>   For this device the font S must be selected for the character '\-'.
>


A) The semantics of `\-`, going back to Ossanna troff, are that it formats a "minus sign" in the "current" font, which is usually a text font.  (But if you `.ft S` first, yes, `\-` will get you a minus sign from the S font.)

See the 1976 version of CSTR #54.

B) The groff project doesn't have any power over what the X11 fonts look like.  If that font unifies hyphens and minus signs, as implied by XLFD for the Times roman font does, then they will of course look the same.

See gxditview(1), search for `TR`, then run this command.

xfd -fn '-adobe-times-medium-r-normal--*-100-*-*-*-*-iso8859-1'

Closing as invalid.

G. Branden Robinson <gbranden>
Group administrator
Wed 25 Oct 2023 11:59:59 PM UTC, original submission:  

Subject: gxditview renders '\-' as '-' (a short line segment like a hyphen)

  In groff/build/src/devices/xditview/

1) groff -man -Z -TX100-12 gxditview.1 > gxditview.1.Z

2) gxditview gxditvew.1.Z

  For this device the font S must be selected for the character '\-'.

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-26 gbranden StatusNone Invalid
        Assigned toNone gbranden
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code