[mcclim-devel] clim-demo::demodemo fails with some kind of font problem

Larry Clapp larry at theclapp.org
Fri Apr 6 03:39:20 UTC 2007


Hello, McClimmers,

I run Debian GNU/Linux, mostly "stable", some "testing".  I'm using SBCL.

I followed the instructions here (http://mcclim.cliki.net/GettingStarted) and
got clean compiles on everything.  (Well, I never got the debugger, at least,
so I assume they were clean.  :)

The clim demo fails with some kind of font problem:

> * (clim-demo::run-test 'clim-demo::demodemo)
> Received CLX NAME-ERROR in process "#<CLIM-CLX::CLX-PORT :HOST \"localhost\" :DISPLAY-ID 0
>  {C8B6749}>'s event process."
> 
> debugger invoked on a XLIB:NAME-ERROR in thread #<THREAD "#<CLIM-CLX::CLX-PORT :HOST \"loc
> alhost\" :DISPLAY-ID 0 {C8B6749}>'s event process." {BAE9961}>:
>   Asynchronous NAME-ERROR in request 36 (last request was 37)  Code 45.0 [OpenFont]
> Received CLX FONT-ERROR in process "initial process"
> 
> debugger invoked on a XLIB:FONT-ERROR in thread #<THREAD "initial thread" {A7BD4A1}>:
>   FONT-ERROR in current request  Code 47.0 [QueryFont] ID #x5E00019
> 
> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
> 
> restarts (invokable by number or by possibly-abbreviated name):
>   0: [ABORT] Exit debugger, returning to top level.
> 
> (XLIB::X-ERROR XLIB:FONT-ERROR
>  :DISPLAY #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
>  :ERROR-KEY XLIB:FONT-ERROR
>  :ASYNCHRONOUS NIL
>  :CURRENT-SEQUENCE 37
>  :RESOURCE-ID 98566169
>  :MAJOR 47
>  :MINOR 0
>  :SEQUENCE 37)
> 0] 0

I *think* this is the relevant part of the backtrace:

> 3: (XLIB::REPORT-ERROR
>     #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
>     7
>     XLIB:FONT-ERROR
>     :ASYNCHRONOUS NIL
>     :CURRENT-SEQUENCE 400
>     :RESOURCE-ID 98566169
>     :MAJOR 47
>     :MINOR 0
>     :SEQUENCE 400)
> 4: (XLIB::READ-REPLY #<unavailable argument> #<unavailable argument>)
> 5: (XLIB::QUERY-FONT
>     #<XLIB:FONT -adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1 localhost:0 98566169>)
> 6: (XLIB:OPEN-FONT
>     #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R70101000)>
>     "-adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1")
> 7: ((SB-PCL::FAST-METHOD CLIM:TEXT-STYLE-MAPPING (CLIM-CLX::CLX-PORT T))
>     #<unavailable argument>
>     #<unavailable argument>
>     #<CLIM-CLX::CLX-PORT :HOST "localhost" :DISPLAY-ID 0 {C8B6749}>
>     #<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>
>     NIL)
> 8: (CLIM-CLX::TEXT-STYLE-TO-X-FONT
>     #<CLIM-CLX::CLX-PORT :HOST "localhost" :DISPLAY-ID 0 {C8B6749}>
>     #<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>)

So I guess

  #<CLIM:STANDARD-TEXT-STYLE :SANS-SERIF :ROMAN :HUGE>

gets transformed into

  -adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1

but I don't actually have that font on my system:

  % xlsfonts | grep -e -adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1
  % 

Any advice?  (Hopefully other than "install
-adobe-helvetica-medium-r-normal--24-173-100-100-p-0-iso8859-1". :)

Thanks!

-- Larry Clapp




More information about the mcclim-devel mailing list