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: [SOLVED] Why does nedit complain about these missing fonts?


On Mon, May 21, 2012, at 17:30, Kiehl, Horst wrote:
> Ronald Fischer wrote [text rewrapped]:
> >   xset fp+ /usr/share/fonts
> > 
> > I got the error message
> > 
> > xset:  bad font path element (#90), possible causes are:
> >     Directory does not exist or has wrong permissions
> >     Directory missing fonts.dir
> >     Incorrect font server address or syntax
> 
> My guess is that you get this message because the directories in the
> font path are from the viewpoint of the server. If your Xming
> installation is on the same computer as your Cygwin installation and
> the latter is under C:\cygwin, your command
>     xset fp+ /usr/share/fonts
> would translate to something like
>     xset fp+ c:/cygwin/usr/share/fonts

You are right - now it's so obvious!!!! I could bang my head against the
wall!

> Additionally, if I remember correctly, each directory containing a
> fonts.dir file must be specified in the font path explicitly (i.e. the
> directories in the font path are not searched recursively). 

Indeed, this is the case! Thank you for pointing it out.

Now by doing 

  xset fp+ $(cygpath -w /usr/share/fonts/100dpi)

the nedit messages about missing fonts are gone! Thanks for helping!

Ronald
-- 
Ronald Fischer <austria_rules@yepmail.net>

There are 10 types of people in the world: those who understand binary and those who don't.


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


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