[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gschem and gtk library hell
>> Probably because the question mark symbol can't be found or loaded?
>
>Aaaaahhhh. . . . I've seen this bug many times before. The problem is
>that the appropriate RC files didn't get loaded. Therefore, the font
>definitions are munged. The first char to barf when the fonts are
>created is the "?". It is unfortunate that this bug manifests
>itself this way; I do think a better error trap would help with this
>particular issue. Perhaps we need the stuff in libgeda which loads
>the RC files to exit(-1) the program if no RC files are found?
It's a little more complicated then this (as usual), because the
system-gschemrc is being loaded, but the system-gafrc (which is loaded
from within system-gschemrc) isn't found. Certainly a check is needed.
Maybe after all the rc files are loaded then check for the existance of
font-directory or scheme-directory and make sure these scheme variables
exist. If not, exit with an error message.
-Ales