This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Why does nedit complain about these missing fonts?
- From: Ronald Fischer <ynnor at mm dot st>
- To: "cygwin-xfree Mailinglist" <cygwin-xfree at cygwin dot com>
- Date: Fri, 18 May 2012 14:42:55 +0200
- Subject: Why does nedit complain about these missing fonts?
- Reply-to: cygwin-xfree at cygwin dot com
I'm using Xming as X server.
xlsfonts lists the following fonts as available:
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
cursor
fixed
In the nedit preferences, I set the primary font to
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
and then clicked on "Fill highlight fonts from primary".
However, when I invoke Cygwin's 'nedit', I get the error messages:
Cannot convert string
"-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-helvetica-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string
"-*-helvetica-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-courier-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string "-*-courier-bold-r-normal-*-*-120-*-*-*-iso8859-1"
to type FontStruct
Cannot convert string
"-*-courier-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
I wonder why nedit is searching for "helvetica" and "courier" fonts.
What's the best to do in this case?
Just for completeness (though it likely doesn't matter here): I also
searched the Xming documentation. There is a command (mkfontscale) which
makes Windows fonts available to X. I have executed it, and it created a
file c:\windows\fonts\fonts.dir, which seems to be a mapping between
Windows font files (.TTF, .FON) and X font names. I don't know if or to
what extend this could help me with the nedit problem; in any case, this
list also doesn't contain "helvetica" or "courier".
Ronald
--
Ronald Fischer <ronaldf@eml.cc>
+ If a packet hits a pocket on a socket on a port,
+ and the bus is interrupted and the interrupt's not caught,
+ then the socket packet pocket has an error to report.
+ (cited after Peter van der Linden)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/