nanogui: first experiments: problems


Previous by date: 15 Aug 2008 15:14:07 -0000 first experiments: problems, Jorge Marques Pelizzoni
Next by date: 15 Aug 2008 15:14:07 -0000 Re: first experiments: problems, Jorge Marques Pelizzoni
Previous in thread: 15 Aug 2008 15:14:07 -0000 first experiments: problems, Jorge Marques Pelizzoni
Next in thread: 15 Aug 2008 15:14:07 -0000 Re: first experiments: problems, Jorge Marques Pelizzoni

Subject: Re: [nanogui] first experiments: problems
From: "Greg Haerr" ####@####.####
Date: 15 Aug 2008 15:14:07 -0000
Message-Id: <10c601c8fee9$5c79f270$6501a8c0@winXP>

:    Fl_get_system_colors.cxx:(.text+0x31): undefined reference to
: `XParseColor'
: -----------------------
:
: Why does that happen?

These usually happen because the above X11 library entrypoints
(XParseColor) aren't defined in NXLIB.  The stubs.c
file is useful in these cases.  However, in this particular case,
there's a library issue, since XParseColor is implemented in
NXLIB.

: 2 - no windows could be resized nor moved, which is possible without 
nano-X;

This is a nanowm window manager issue, since nano-X itself, like X11,
doesn't deal with window resize requests from the user directly.


: 3 - on nano-X, the samples respond to the keyboard, but in a completely
: wrong manner. For example, when typing text in a textbox, characters do
: appear, but obeying a messed-up keyboard map;

The keyboard map may need to be changed in NXLIB.  NXLIB
is forced to use an X11 style scancode oriented keymap,
which may be incorrect for your system.  Make sure you're
running TTYSCAN=Y in nano-X config.



: 4 - when HAVE_PCFGZ_SUPPORT=Y, nano-X dies in fltk-1.1.9 sample "tile"
: with the following messages:
:
: ----------------
:   createfont: (height == 0) found builtin font System (0)
:   createfont: (height == 0) found builtin font System (0)
:   fnt_createfont: /usr/share/fonts/X11/100dpi/helvR12-ISO8859-1.pcf.gz,0
: not found
:   Segmentation fault

Are you running a big-endian system?  This is likely a bug in the
nano-X PCF font subdriver.  They should be fixed in the
CVS source version, also available as a snapshot from the ftp site.





: ----------------
:
: 5 - when HAVE_PCFGZ_SUPPORT=n, nano-X works, but it seems that the font
: cannot be loaded. As a result, text is written in just one size, while the
: application originally specifies various sizes.

That's normal, as the .pcf files requested by fltk/nxlib aren't
loaded as the PCF driver is missing.

Regards,

Greg 


Previous by date: 15 Aug 2008 15:14:07 -0000 first experiments: problems, Jorge Marques Pelizzoni
Next by date: 15 Aug 2008 15:14:07 -0000 Re: first experiments: problems, Jorge Marques Pelizzoni
Previous in thread: 15 Aug 2008 15:14:07 -0000 first experiments: problems, Jorge Marques Pelizzoni
Next in thread: 15 Aug 2008 15:14:07 -0000 Re: first experiments: problems, Jorge Marques Pelizzoni


Powered by ezmlm-browse 0.20.