Hi, I have this problem: I want to use unicode characters (chess figures) in canvas. But it displays only some squares. But when i create button with same characters . it work!
(make-instance 'canvas-text :canvas c :x 10 :y 10 :text "♖") this displays only garbage
(make-instance 'button :master right-frame :text "♖" :command (lambda () (+ 1 2))) this display button with text ♖
I'm not sure this character will be displayed in email correctely... so my character is unicode WHITE CHESS PAWN...
I use SBCL on MAC OS X 10.4
Any idea?
Thanks
Zed
On 9686 day of my life Zdenek Eichler wrote:
I want to use unicode characters (chess figures) in canvas. But it displays only some squares. But when i create button with same characters . it work! ... Any idea?
Probably, canvas and button use different fontsets. Try setting different font for canvas or install more fonts...
Thanks for reply.
I of course tried that. It changes font but national character and chess figures still not displayed.
I have another solution. I made pictures of that characters. Please, can u send me an example how to put pictures on canvas? I'm desperate from that.
Another thanks.
Zdenek Eichler
On Dec 15, 2006, at 5:13 AM, Ivan Boldyrev wrote:
On 9686 day of my life Zdenek Eichler wrote:
I want to use unicode characters (chess figures) in canvas. But it displays only some squares. But when i create button with same characters . it work! ... Any idea?
Probably, canvas and button use different fontsets. Try setting different font for canvas or install more fonts...
-- Ivan Boldyrev
Is 'morning' a
gerund?
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user