This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Cannot convert string "nil2" to type FontStruct
- From: Tom Roche <Tom_Roche at pobox dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 29 Jun 2009 13:50:33 -0400 (EDT)
- Subject: Re: Cannot convert string "nil2" to type FontStruct
- Reply-to: Tom Roche <Tom_Roche at pobox dot com>
- Reply-to: cygwin-xfree at cygwin dot com
Tom Roche Sun, Jun 28, 2009 at 9:32 PM
> Despite installing package=font-misc-misc (recommended by
> http://cygwin.com/cgi-bin2/package-grep.cgi?grep=nil2
> ) via setup.exe, everytime I start an xterm I get
> > Warning: Cannot convert string "nil2" to type FontStruct
Jon TURNEY Mon, Jun 29, 2009 at 6:51 AM
> Installing the font-alias package and restarting the X server or
> xset fp rehash should fix that.
Indeed font-alias did! (restarting, anyway--I usually shutdown before
installing anything) Note to future enquirers: installing this one
package seems to take a rather exceptionally long time, due to its
postinstall script, but only ~60 sec.
> I think the problem is that the font-alias package contains the
> alias from the name 'nil2' to
> '-misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific' an
> XLFD name which matches the actual font inside the 'nil2.pcf.gz'
> file.
> Perhaps to avoid this, xterm's setup.hint should list font-alias as
> a requirement since it names fonts defined there in it's default
> resources?
I hope some day to understand X sufficiently well to make a reasoned
judgement about this.
Your assistance is appreciated, Tom Roche <Tom_Roche@pobox.com>
--
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/