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

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);
       }
       else
          fputs("error in initialisation\n", stderr);
       return 10;
    }


I also tried to patch sawfish-1.3.5.2/lisp/sawfish/gtk/widgets/font.jl
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. 


Petter


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