nanogui: nano-X0.91 & nxlib0.45 & tk8.4.15
Subject:
Re: [nanogui] nano-X0.91 & nxlib0.45 & tk8.4.15
From:
"Greg Haerr" ####@####.####
Date:
20 Oct 2007 03:51:50 +0100
Message-Id: <237101c812bf$fbad9610$6401a8c0@winXP>
Great news! See my comments below.
: It requires a small pacth in Tk code: replace the macro QLength() by the
: function XQLength()
OK. I hadn't realized that this may mean we can't use Xlib applications
without recompiling... This and possibly other macros will need
documenting in NXLIB somewhere.
: b.. Tk seems to use extensively the XFontStruct; for some fonts, the
: fields min_byte1 and max_byte1 seems wrong
More details if possible?
: c.. limitation for widths:
: a.. microwin/src/include/mwtypes.h MWFONTINFO.widths is limited to
256
: b.. similar limitation in nxlib/QueryFont.c
: c.. consequently I made a patch in Tk to avoid accessing
: XFontStruct.widths to far
We don't have to be limited to 256 widths, are you using a font with
more glyphs? Can you give me an example of the patch change in
the Tk code? This likely will have to be fixed in NXLIB for
maximum compatibility.
Regards,
Greg