delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/10/05:46:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <874ojlaciz.fsf@gmail.com>
References: <4BBCC76E DOT 5070901 AT nmia DOT com> <w2g416096c61004080410ucb4ee234u9b8af13f9c7734c4 AT mail DOT gmail DOT com> <20100408070651 DOT 07BB DOT E57E4DAE AT nmia DOT com> <m2h416096c61004080757g4cdd780ag62a47df42b481517 AT mail DOT gmail DOT com> <878w8xah30 DOT fsf AT gmail DOT com> <g2o416096c61004081248ud860922fkc23e2e8a50d58e0c AT mail DOT gmail DOT com> <874ojlaciz DOT fsf AT gmail DOT com>
Date: Sat, 10 Apr 2010 10:46:09 +0100
Message-ID: <g2g416096c61004100246rbccf3b6k2f92671c450c4eb7@mail.gmail.com>
Subject: Re: man pages showing special characters
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 8 April 2010 21:56, Paul Bibbings:
>> What font are you using, and what do you get instead of the '-'?
>
> Well, certainly the font affects the problem. =C2=A0I had this set to
> `Courier'. =C2=A0However, changing this to `Courier New' solves this for =
me
> and everything renders as I would expect. =C2=A0For the record, using
> `Courier', I was getting a wide, solid vertical bar for al the `-'s.

The font *is* the problem then. Well, apart from man/groff needlessly
using the Unicode minus and hyphen codepoints anyway. 'Courier' isn't
a Unicode font, i.e. it covers CP1252 and perhaps a few other
codepages, but nothing beyond that.

Other examples of fonts like that are Fixedsys and Terminal. OpenType
and TrueType fonts (marked with 'O' and 'TT' in the font dialog) tend
to have wider coverage, for example Lucida Console, Consolas, DejaVu
Mono, and Courier New.


> I had believed that I had set it to `Courier New' in the first place, so
> unless it should render properly under Courier, this is my error.

Easy enough to click on 'Courier' instead of 'Courier New'. I checked
that mintty isn't accidentally dropping the 'New'.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019