This is the mail archive of the cygwin-xfree@cygwin.com 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: font problem


By default, the X server uses a bunch of font paths.  They are all included in
/usr/X11R6/lib/X11/fonts .  Of those, I am not sure which are defaulted, but
misc contains the "fixed" font alias.  Sooooo.... by overriding your font path,
you are clobbering the defaulted misc.  I usually set misc, 75dpi and 100dpi in
my font path... 

You have two options...
1. Add the font server to the font path :
-fp
/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,tcp/10.151.4.13:7101

2. Add the font path AFTER the X server has started up, NOT overriding the font
path.  Use xset for this.  I am not completely sure of the syntax (take a look
at the manpage), but it is something like :

xset fp+ tcp/10.151.4.13:7101
xset fp rehash

Brian

--- Heiko Nardmann <h.nardmann@secunet.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> I have a problem with a font inside KDE Konsole. Until end of last week I 
> used Exceed as my primary X server. Then I switched to XFree86 (on Windows 
> NT).
> 
> I start it using XDMCP with the '-indirect' option to get the chooser menu 
> from a Linux server.
> 
> Inside the KDE Konsole the font provided by Exceed is fine but now a 
> proportional font is used in XFree86.
> 
> When I try to choose a better font from the "Custom..." menu I only see 
> "Tahoma" being the only font offered.
> 
> Probably I have to provide some more fonts to the X server?
> 
> - From another mail I saw that it is possible to give some '-fp ...' to the 
> XWin command line; so now I have the following inside startxwin.bat:
> 
> start /B XWin.exe :1 -indirect 10.151.4.13 -from 10.151.4.101 -screen 0 1600 
> 1200 -fullscreen -fp tcp/10.151.4.13:7101
> 
> 10.151.4.13 is the linux server.
> 10.151.4.101 is my machine.
> 
> On port 7101 xfstt is running. No xfs is running on the linux machine 
> additionally.
> 
> But then I get the following fatal error message:
> 
> could not open default font 'fixed'
> 
> Any idea how to fix this?
> 
> - -- 
> Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
> secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
> Weidenauer Str. 223-225, D-57076 Siegen
> Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE8HeYspm53PRScYygRAhdXAJ0QZJCtX7QeRo/jBZX0vnqwjUr9MACgnyE1
> jnnzLuz6b2QzgfDdrefVXtA=
> =pRbO
> -----END PGP SIGNATURE-----


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com


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