nanogui: Font usage/setup


Previous by date: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Martin Kajdas
Next by date: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Greg Haerr
Previous in thread: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Martin Kajdas
Next in thread: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Greg Haerr

Subject: Re: [nanogui] Font usage/setup
From: "Greg Haerr" ####@####.####
Date: 12 Jan 2006 23:19:58 +0000
Message-Id: <108801c617ce$9f6b77c0$0300a8c0@RDP>

> it does not like foreground color=0 (background color is also 0 (actually
0xFFFF0000) but it is ignored; transparent).
The color=0 should print black and it works correctly with fixed fonts on
nano-X and on X11 (all fonts).

> When I forced the foreground color (in Text.c of nxlib) to be something
else it displayed correctly.
It must be a bug in nxlib, but where?

What version of Microwindows are you running, 0.90?  There
is a bug in all but CVS (possibly 0.91) where transparent
colors aren't handled properly.  The bottom line is that with
images, when the image bits were all 1's, nano-X thought
this was the same as -1, and then didn't draw the color.  usually
this was for white (all 1s).  however, for certain reasons NXLIB
inverts the fg and bg and thus this could occur for the bg color.

Is there a way you can run the CVS version of Microwindows
to test this?

Regards,

Greg



Previous by date: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Martin Kajdas
Next by date: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Greg Haerr
Previous in thread: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Martin Kajdas
Next in thread: 12 Jan 2006 23:19:58 +0000 Re: Font usage/setup, Greg Haerr


Powered by ezmlm-browse 0.20.