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



From: Petter Gustad <petter gustad com>
Subject: Re: error--> (error "unknown font type" "Xft")
Date: Sun, 24 May 2009 11:07:08 +0200 (CEST)

> Thank you for your reply. Unfortunately either of them resolved the
> problem. It seems like the function "get-font-typed" might be called
> directly from some other lisp function which is independent of the
> settings in .sawfishrc?.

Or maybe directly from the application itself. Here's a grep for the
function:

$ find /usr/local/ -type f | xargs grep get-font-typed
/usr/local/share/info/sawfish.info-2:* get-font-typed:                        Fonts.               (line  23)
/usr/local/share/info/sawfish.info-1: -- Function: get-font-typed type name
/usr/local/share/sawfish/1.3.5.2/lisp/sawfish/wm/gaol.jl:      cursorp get-font get-font-typed font-type-exists-p font-name
/usr/local/share/sawfish/1.3.5.2/lisp/sawfish/wm/custom.jl:;;                                        (get-font-typed
Binary file /usr/local/share/sawfish/1.3.5.2/lisp/sawfish/wm/gaol.jlc matches
Binary file /usr/local/libexec/sawfish/1.3.5.2/x86_64-unknown-linux-gnu/DOC matches
Binary file /usr/local/bin/sawfish matches


As you can see I've commented out the function where it;s called in
custum.lj (so it's not present in custom.jlc). In gaol.jl there is
only a list of safe functions so I don't think it's called from there.
Which only leaves /usr/local/bin/sawfish?

I can't seem to find where get-font-typed is called unless it is
called using some dynamic method.

Any ideas?

Petter




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