nanogui: Thread: nano-X0.91 & nxlib0.45 & tk8.4.15


[<<] [<] Page 1 of 1 [>] [>>]
Subject: nano-X0.91 & nxlib0.45 & tk8.4.15
From: "Etienne Burton" ####@####.####
Date: 19 Oct 2007 16:17:18 +0100
Message-Id: <DGEIKOCBCPFHFEMOKMKOOEJJCDAA.eburton@gillam-fei.be>

After some efforts, it works ! And it seems promising.
Thanks to Greg and others involved in these tools.

It requires a small pacth in Tk code: replace the macro QLength() by the
function XQLength()

After that basic functions seems to work.

I am facing various problem with fonts:
  a.. fonts.dir are not present in nano-X distribution (easy to generate
with mkfontdir & ttmkfdir)
  b.. Tk seems to use extensively the XFontStruct; for some fonts, the
fields min_byte1 and max_byte1 seems wrong
  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
I should also integrate nano-X in my linux embedded system. Hardware
includes EPSON S1D13706 controller.
Has someone integrated nano-X on that type of HW ?


Ir. Etienne Burton
GILLAM- FEi
BELGIUM


<p><font size= "1" color="#000000"><hr width="100%" size="1" color="#000000" noshade>The information contained in this e-mail including any attachments is confidential and legally privileged. It is intended solely for the addressees. If you are not the intended recipient, please notify the sender of mistaken delivery via reply and then delete both the received and sent emails and any attachments. Any use or disclosure of the contents of either is unauthorized and may be unlawful. Insofar as the e-mail service of GILLAM-FEI employs an updated antivirus system, if this e-mail should contain a virus, it is unintentional and any liability for damages is denied to the fullest extent permitted by law. The information and opinions contained in this message are communicated by the sender in his or her own name. They do not constitute a formal commitment of GILLAM-FEI unless clearly stipulated in this e-mail. GILLAM-FEI S.A. is a limited company registered under the RPM Liège number 0414 125
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

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.