This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot convert string "nil2" to type FontStruct

Tom Roche Sun, Jun 28, 2009 at 9:32 PM
> Despite installing package=font-misc-misc (recommended by


> ) 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 <>

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]