man pages showing special characters

Andy Koppe andy.koppe@gmail.com
Sat Apr 10 09:46:00 GMT 2010


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.  I had this set to
> `Courier'.  However, changing this to `Courier New' solves this for me
> and everything renders as I would expect.  For 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



More information about the Cygwin mailing list