This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Ttmkfdir TrueType font directory
- From: "Valeriy Glushkov" <valeriyg at lrpeople dot com>
- To: "James Tetazoo" <j_tetazoo at hotmail dot com>
- Cc: <cygwin-xfree at cygwin dot com>
- Date: Wed, 13 Mar 2002 16:40:24 +0200
- Subject: Re: Ttmkfdir TrueType font directory
- References: <F69gFTllXCCzunMkE460000f4f4@hotmail.com>
Hi James and Harold,
To see standard cursors on your X server you have to copy cursor.pcf.gz from
misc directory to yor windows fonts directory (windows hasn't any suitable
cursor font)
Execute mkfontdir to add cursor font to your fonts,
or do it manually in fonts.dir file - insert the following line:
cursor.pcf.gz cursor
Then, create a simple fonts.alias file in the fonts dir:
fixed "-*-Courier New-medium-r-normal-*-12-120-*-*-*-*-*-*"
variable -*-arial-bold-r-normal-*-12-120-*-*-*-*-*-*
Use:
XWin -fp /cygdrive/c/WINNT/Fonts
It works perfectly well.
Best regards,
Valeriy Glushkov
> I tried the following:
>
> XWin -fp /cygdrive/c/WINNT/Fonts -fn "-*-courier
> new-medium-r-*-*-*-*-*-*-*-*-*-*"
>
> This got me passed the error about not finding a font named "fixed", but I
> got a new error about not being able to get the default cursor font. I'm
> not sure if Windows has a curosr font. For kicks, I tried this:
>
> XWin -fp /cygdrive/c/WINNT/Fonts -fn "-*-courier
> new-medium-r-*-*-*-*-*-*-*-*-*-*" -fc
"-*-wingdings-*-*-*-*-*-*-*-*-*-*-*-*"
>
> This time, XWin fired up just fine. However, I didn't get much farther
> because my window manager, fvwm2, croaked because it couldn't get the font
> "fixed". It must be hard-coded in there somewhere.
>
> I suppose I could fix this problem by somehow aliasing "fixed" to, say,
> "Courier". However, I chose to simply add the "misc" fonts to the path
(has
> the added benefit that the default cursor font lives there as well, so I
> could ditch WingDings):
>
> XWin -fp "/cygdrive/c/WINNT/Fonts,/usr/X11R6/lib/X11/fonts/misc" -fn
> "-*-courier new-medium-r-*-*-*-*-*-*-*-*-*-*"
>
> Works like a charm!