nanogui: Tk/Tcl color mapping
Subject:
Tk/Tcl color mapping
From:
Yan Seiner ####@####.####
Date:
11 Apr 2007 21:27:54 +0100
Message-Id: <461D44A5.1050605@seiner.com>
I think I've confirmed that whatever Tk uses for setting colors doesn't
get along with nxlib....
Even if I set the widget to black and white it still comes out black,
with no detail. Here's the output:
root:/bin> DISPLAY=:0 wish tcltest
nxclient: retry connect attempt 1
nxclient: retry connect attempt 2
nx11: display bpp = 16, bits_per_rgb 6
XSetLocaleModifiers called
nxTranslateEventMask no handler for event mask (00c1807f): 16 22 23
XInternAtom Comm 0
XInternAtom InterpRegistry 0
XInternAtom TK_APPLICATION 0
XGrabServer called
XChangeProperty InterpRegistry
XUngrabServer called
XChangeProperty TK_APPLICATION
Finding font '-adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso8859-1'
nxFindX11Font('-adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso8859-1')
= '/usr/lib/X11/fonts/100dpi/helvB08-ISO8859-1.pcf.gz'
XLoadFont('-adobe-helvetica-bold-r-normal--11-80-100-100-p-60-iso8859-1')
= '/usr/lib/X11/fonts/100dpi/helvB08-ISO8859-1.pcf.gz' [1000]
XGetFontProperty called
XGetFontProperty called
XGetFontProperty called
XGetFontProperty called
nxTranslateEventMask no handler for event mask (00c1807f): 16 22 23
nxTranslateEventMask no handler for event mask (00e3807f): 16 22 23
XSetClassHint called
XInternAtom UTF8_STRING 0
XInternAtom _NET_WM_NAME 0
XChangeProperty _NET_WM_NAME
XInternAtom WM_DELETE_WINDOW 0
XInternAtom WM_PROTOCOLS 0
XChangeProperty WM_PROTOCOLS
I'm not really sure where to look; something is hosing the color
translation. "regular" X11 apps (my test app which draws a line) work fine.
Where do I look?
--Yan