Re: embed the fixed font in the X server binary

2004-01-07 Thread Juliusz Chroboczek
TV To the point: wouldn't it be benecifial to embed the fixed font in the X
TV server binary itself?

Definitely (and the cursor font too).  The TinyX (KDrive) server
already does that.

Unfortunately, it is not possible to use the KDrive built-in fonts
code in the XFree86 server, as it pulls in quite a lot of stuff which
shouldn't be in the core server (including the fontdir code, the PCF
parser and libz).  I've been planning to do a clean implementation of
built-in fonts for quite some time, but as usual Real Work is keeping
me distracted.

Juliusz

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: embed the fixed font in the X server binary

2004-01-07 Thread Juliusz Chroboczek
DD Of course once this is done, the problem reports will change to My X
DD apps can't find the fonts they need, or Why is everything is using
DD the same ugly font?

;-)
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


embed the fixed font in the X server binary

2004-01-06 Thread Torgeir Veimo
The dreaded 

Fatal server error:
could not open default font 'fixed'

- can happen at the least expected times.

This happened to a collegue when upgrading packages on his fedora
installation, and for some reason the font server wasn't starting. I had
to help him remotely, relaying commands through the telephone, since ssh
into his machine was not working either.

To the point: wouldn't it be benecifial to embed the fixed font in the X
server binary itself? It would harden the x server tremendously in case
of system failures. On my system the fixed font, which is really the
6x13-ISO8859-1.pcf.gz is 4366 bytes big. 

-- 
Torgeir Veimo [EMAIL PROTECTED]

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: embed the fixed font in the X server binary

2004-01-06 Thread Michael Taylor
Torgeir Veimo wrote:
 The dreaded 
 
 Fatal server error:
 could not open default font 'fixed'
 
 - can happen at the least expected times.
 
 To the point: wouldn't it be benecifial to embed the fixed font in the X
 server binary itself? It would harden the x server tremendously in case
 of system failures. On my system the fixed font, which is really the
 6x13-ISO8859-1.pcf.gz is 4366 bytes big. 

No need. Fonts could be specified via FontPath in the XF86Config file, so as not
to solely depend on the font server (xfs in this case). I believe someone has
suggested this idea as a change in default configuration recommended.

E.g.

Section Files
[...]
FontPath   unix/:7100
FontPath   /usr/X11R6/lib/X11/fonts/misc
EndSection

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: embed the fixed font in the X server binary

2004-01-06 Thread David Dawes
On Tue, Jan 06, 2004 at 12:39:37PM +, Torgeir Veimo wrote:
The dreaded 

Fatal server error:
could not open default font 'fixed'

- can happen at the least expected times.

This happened to a collegue when upgrading packages on his fedora
installation, and for some reason the font server wasn't starting. I had
to help him remotely, relaying commands through the telephone, since ssh
into his machine was not working either.

To the point: wouldn't it be benecifial to embed the fixed font in the X
server binary itself? It would harden the x server tremendously in case
of system failures. On my system the fixed font, which is really the
6x13-ISO8859-1.pcf.gz is 4366 bytes big. 

I've suggested doing something like this.  There is code in the XFree86
tree for a built-ins font path, and to be useful it could be implicitly
appended to the font path as a fallback.  There are some complications
in bringing this in quickly because of its dependence on the bitmap
font module, and I think it is worth following up post-4.4.

Of course once this is done, the problem reports will change to My X
apps can't find the fonts they need, or Why is everything is using
the same ugly font?

David
-- 
David Dawes
developer/release engineer  The XFree86 Project
www.XFree86.org/~dawes
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: embed the fixed font in the X server binary

2004-01-06 Thread Torgeir Veimo
On Tue, 2004-01-06 at 19:06, Mark Vojkovich wrote:
 On Tue, 6 Jan 2004, Michael Taylor wrote:
 
  Torgeir Veimo wrote:
   The dreaded 
   
   Fatal server error:
   could not open default font 'fixed'
   
   - can happen at the least expected times.
   
   To the point: wouldn't it be benecifial to embed the fixed font in the X
   server binary itself? It would harden the x server tremendously in case
   of system failures. On my system the fixed font, which is really the
   6x13-ISO8859-1.pcf.gz is 4366 bytes big. 
  
  No need. Fonts could be specified via FontPath in the XF86Config file, so as not
  to solely depend on the font server (xfs in this case). I believe someone has
  suggested this idea as a change in default configuration recommended.
  
  E.g.
  
  Section Files
  [...]
  FontPath   unix/:7100
  FontPath   /usr/X11R6/lib/X11/fonts/misc
  EndSection
 
Yes.  Also, you don't want to put fixed in the server because
 the question is which fixed font do you use.  Some people want small 
 fonts, some people want unicode.  This fixed font problem is
 strictly a configuration issue and one that should get fixed by the
 configuration programs.  Besides, embedding the fixed font isn't
 going to make the bug reports go away.  Think of how ugly the
 desktop is going to look.

Yes, but is fixed actually used for anything else than a last resort
font these days? You can still use the real font specification to get it
in any other size or encoding.

-- 
Torgeir Veimo [EMAIL PROTECTED]

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel