Re: error--> (error "unknown font type" "Xft")

From: Christopher Roy Bratusek <zanghar freenet de>
Subject: Re: error--> (error "unknown font type" "Xft")
Date: Sat, 30 May 2009 16:22:13 +0200

>> It seem to terminate. Is the cause of this behavior a missing error
>> handler at the top level?

I observe in gdb that it's rep_top_level_exit which is the top level
function called:

423             server_init ();
425             rep_call_with_barrier (inner_main, Qnil, rep_TRUE, 0,
0, 0);
426             rc = rep_top_level_exit ();
error--> (error "unknown font type" "Xft")
429             server_kill ();
(gdb) rc
Undefined command: "rc".  Try "help".
(gdb) print rc
$1 = 10
(gdb) cont

Program exited with code 012.
(gdb) quit

which seem to be a hard coded exit status in librep/src/main.c:

    if(throw && rep_CAR(throw) == Qerror)
    /* If quitting due to an error, print the error cell if
       at all possible. */
       repv stream = Fstderr_file();
       if(stream && rep_FILEP(stream))
           fputs("error--> ", stderr);
           Fprin1(rep_CDR(throw), stream);
           fputc('\n', stderr);
          fputs("error in initialisation\n", stderr);
       return 10;

I also tried to patch sawfish-
after configure, but before make to:

  ;; defined by configure
  (define have-pango-xft (eq 'yes 'no))

to force it to not to use Xft, but still I get the above error. 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]