This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: setting default font path
- To: "'Brian Michael Genisio'" <genisiob at pilot dot msu dot edu>, "'cygwin-xfree at sources dot redhat dot com'" <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: setting default font path
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 6 Jun 2001 08:28:21 -0400
Brain,
You must use forward slashes and the fullpath for example
Xwin -screen 0 800x600 -depth 32 -engine 4 -ac -terminate -co
/usr/X11R6/lib/X11/rgb -fp
/usr/X11R6/lib/X11/fonts/misc/:/usr/X11R6/lib/X11/fonts/Speedo/:/usr/X11R6/l
ib/X11/fonts/Type1/:/usr/X11R6/lib/X11/fonts/75dpi/:/usr/X11R6
/lib/X11/fonts/100dpi/
Xwin is a cygwin application and understands UNIX stayles paths.
I hope this help
Suhaib
> -----Original Message-----
> From: Brian Michael Genisio [mailto:genisiob@pilot.msu.edu]
> Sent: Wednesday, June 06, 2001 8:10 AM
> To: cygwin-xfree@sources.redhat.com
> Subject: setting default font path
>
>
> Hey all,
>
> I am trying to strip down the X server to only everything I
> need to run the X
> server and a window manager from a dos prompt. From there, I
> will have clients
> on other machines connect to me, so I do not need full cygwin.
>
> What I have done so far, is copy the Cygwin DLLs, all the X
> DLLs needed, the
> window manager (fvwm2), the rgb.txt file and the fonts directories.
>
> The problem I am having is with the default font path. At
> the same level as
> Xwin, I have a fonts directory that has 100dpi, misc, pex,
> etc. So, on the
> command line in the batch file, I use the following :
>
> Xwin -screen 0 800x600 -depth 32 -engine 4 -ac -terminate -co rgb -fp
> fonts\misc,fonts\pex
>
> My problem is that the font paths do not work. I have tried
> every combination
> of relitave and absolute file paths with / and \ with no
> avail. I get the
> error :
>
> Could not init font path element fonts\misc, removing from list!
> Could not init font path element fonts\pex, removing from list!
>
> Following is my full .bat file. Keep in mind, the machine
> does not have
> cygwin... only what is necessary to run the X server :
>
> SET DISPLAY=127.0.0.1:0.0
> SET PATH=.;%PATH%
> mkdir \tmp
>
> start /m fvwm2
> XWin -screen 0 800x600 -depth 32 -engine 4 -ac -terminate -co rgb -fp
> fonts\misc,fonts\pex
>
>
> Thanks,
> Brian
>
>
>
>
> --
> ---------------------------
> \\|// Brian Genisio
> (o o) genisiob@pilot.msu.edu
> ~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>