fonts do not load in XFree86 4.0: Solution


Subject: fonts do not load in XFree86 4.0: Solution
From: Bryan Cebuliak (bcebul@powerup.com.au)
Date: Tue May 09 2000 - 03:58:40 CDT


Justin Bradford in the abiword-dev list pointed me in the right direction.
It was a configuration problem.
My type1 fonts were not loading inspite of being in the XF86Config file.
There is no mention in the XFree86 4.0 Config documentation about the
proper order of modules in the "Module" Section. But it is important.

This is not something that needs to be in user documentation. This should
never have come up as a problem to the user. This is a problem that should have
been solved at the programming language level. As long as programmers
depend on inferior languages without design by contract, assertions and
exeption handling built in to the language they will continue to produce
interesting puzzles like this... And to rely on users and mailing lists to solve
programming problems. The real world, however, is not interested in puzzles or
program code. Only good function and results.

        Good XF86Config code:
 Section "Module"
        Load "GLcore"
        Load "dbe"
        Load "type1"
        Load "freetype"
        Load "speedo"
        Load "dri"
        Load "extmod"
        Load "glx"
        Load "pex5"
        Load "record"
        Load "xie"
        
        No good:
Section "Module"
        Load "GLcore"
        Load "dbe"
        Load "dri"
        Load "extmod"
        Load "glx"
        Load "pex5"
        Load "record"
        Load "xie"
        Load "type1"
        Load "freetype"
        Load "speedo"

Bryan Cebuliak
(poor dumb bleeding user)



This archive was generated by hypermail 2b25 : Tue May 09 2000 - 04:32:01 CDT