nanogui: NanoX+FLTK+UTF-8
Subject:
Re: [nanogui] NanoX+FLTK+UTF-8
From:
"Greg Haerr" ####@####.####
Date:
10 Mar 2006 01:49:09 +0000
Message-Id: <0fa001c643e4$ce518010$6401a8c0@winXP>
: Recently I have installed a UTF-8 patch from here
: (http://www.oksidizer.com/software/fltk.html ) on FLTK 1.1.6 that we use
: here. We had no problem with it on Linux X-Window and on Win32, - it did
its
: job and UTF-8 texts were displayed, however we've run into problems on the
: target device on nano-x. All texts simply are not drawn by the
applications.
: i.e. all calls to text-drawing functions result in drawing nothing.
Sounds like the underlying text drawing functions when nano-X is
linked with X11 or win32 take the bytecodes passed and draw
the encoded strings properly, but when the drawing is using our
own framebuffer driver, this isn't happening.
I assume you're running NXLIB, and you'll have to change the
GrText functions in NXLIB to indicate that you're passing
UTF-8 formatted text to them. See the docs on GrText
for more details.
Regards,
Greg