X-Recipient: archive-cygwin@delorie.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.5070901@nmia.com> 	 <w2g416096c61004080410ucb4ee234u9b8af13f9c7734c4@mail.gmail.com> 	 <20100408070651.07BB.E57E4DAE@nmia.com> 	 <m2h416096c61004080757g4cdd780ag62a47df42b481517@mail.gmail.com> 	 <878w8xah30.fsf@gmail.com> 	 <g2o416096c61004081248ud860922fkc23e2e8a50d58e0c@mail.gmail.com> 	 <874ojlaciz.fsf@gmail.com>
Date: Sat, 10 Apr 2010 10:46:09 +0100
Received: by 10.239.193.80 with SMTP id h16mr114031hbi.151.1270892770031; Sat,  	10 Apr 2010 02:46:10 -0700 (PDT)
Message-ID: <g2g416096c61004100246rbccf3b6k2f92671c450c4eb7@mail.gmail.com>
Subject: Re: man pages showing special characters
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

