setting default font path
Brian Michael Genisio
genisiob@pilot.msu.edu
Wed Jun 6 05:38:00 GMT 2001
Ok, I have tried that also. (That was my first try) But, there is no
/usr/X11R6 directory. The fonts are in the same directory as the X server
application. So, I call :
XWin -screen 0 800x600 -depth 32 -engine 4 -ac -terminate -co rgb -fp
fonts/misc
and get the error :
_FontTransOpen: Unable to Parse address fonts/misc
Could not init font path element fonts/misc, removing from list!
The same is true if I use a path of ./fonts/misc and /xserver/fonts/misc .
However, If I do not set a font path, and make a directory on the machine
called /usr/X11R6/lib/X11/fonts, and put the fonts there, The X server works as
planned!!! Worst case scenario, I can do this, but I would like to try to keep
it confined to a single directory struct.
Thanks!
Brian
>
>
> 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~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> >
> >
>
--
---------------------------
\\|// Brian Genisio
(o o) genisiob@pilot.msu.edu
~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Cygwin-xfree
mailing list