Two font questions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Two font questions

Eric Abrahamsen-2
Two questions about fonts:

1. Is there any way to specify a secondary double-width font? I display
   a lot of Chinese and it would be very helpful to be able to specify a
   font for those characters in the window names and whatnot.
2. I'm trying to use Inconsolata for the message bar via set-font. I've
   installed this font in Arch with the ttf-inconsolata package.
   xfontsel on the command line can find this font, but feeding it to
   set-font produces the backtrace I've pasted below. Is there something
   I need to do to somehow convert the font from TTF to something that
   Xlib can find?


Thanks!

Eric




FONT-ERROR in current request  Code 47.0 [QueryFont] ID #x2C018ED0: (SB-DEBUG::MAP-BACKTRACE
    #<CLOSURE (LAMBDA # :IN SB-DEBUG:BACKTRACE) {D122F45}>
    :START
    0
    :COUNT
    100)
1: (SB-DEBUG:BACKTRACE 100 #<SB-IMPL::STRING-OUTPUT-STREAM {D122EF1}>)
2: (STUMPWM::BACKTRACE-STRING)
3: (ERR "~A" #<XLIB:FONT-ERROR {D1227F9}>)
4: (STUMPWM::EVAL-LINE
    "(set-font \"-misc-inconsolata-*-*-*-*-*-*-*-*-*-*-*-*\")")
5: (STUMPWM::CALL-INTERACTIVELY
    "eval"
    #S(STUMPWM::ARGUMENT-LINE
       :STRING "eval (set-font \"-misc-inconsolata-*-*-*-*-*-*-*-*-*-*-*-*\")"
       :START 62))
6: (STUMPWM::EVAL-COMMAND
    "eval (set-font \"-misc-inconsolata-*-*-*-*-*-*-*-*-*-*-*-*\")"
    NIL)
7: (STUMPWM::HANDLE-STUMPWM-COMMANDS #<XLIB:WINDOW :0 BB>)
8: (STUMPWM::HANDLE-EVENT
    :DISPLAY
    #<XLIB:DISPLAY :0 (The X.Org Foundation R11104000)>
    :EVENT-KEY
    :PROPERTY-NOTIFY
    :EVENT-CODE
    28
    :SEND-EVENT-P
    NIL
    :SEQUENCE
    65233
    :WINDOW
    #<XLIB:WINDOW :0 BB>
    :EVENT-WINDOW
    #<XLIB:WINDOW :0 BB>
    :ATOM
    :STUMPWM_COMMAND
    :TIME
    195618935
    :STATE
    :NEW-VALUE)
9: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK :IN XLIB:PROCESS-EVENT))
10: ((FLET #:WITHOUT-INTERRUPTS-BODY-88685 :IN SB-THREAD::CALL-WITH-RECURSIVE-LOCK))
11: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK
     #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK :IN XLIB:PROCESS-EVENT)
       {B78C0BB5}>
     #<SB-THREAD:MUTEX "CLX Event Lock"
         owner: #<SB-THREAD:THREAD "initial thread" RUNNING {B6887A9}>>)
12: (XLIB:PROCESS-EVENT
     #<XLIB:DISPLAY :0 (The X.Org Foundation R11104000)>
     :HANDLER
     #<FUNCTION STUMPWM::HANDLE-EVENT>
     :TIMEOUT
     NIL
     :PEEK-P
     NIL
     :DISCARD-P
     NIL
     :FORCE-OUTPUT-P
     T)
13: (STUMPWM::STUMPWM-INTERNAL-LOOP)
14: (STUMPWM::STUMPWM-INTERNAL ":0.0")
15: (STUMPWM ":0.0")
16: ((LAMBDA () :IN "/home/eric/dev/stumpwm/make-image.lisp"))
17: ((FLET #:WITHOUT-INTERRUPTS-BODY-225282 :IN SB-EXT:SAVE-LISP-AND-DIE))
18: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))


_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel