nanogui: Font usage/setup


Previous by date: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Greg Haerr
Next by date: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Martin Kajdas
Previous in thread: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Greg Haerr
Next in thread: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Martin Kajdas

Subject: Re: [nanogui] Font usage/setup
From: "Greg Haerr" ####@####.####
Date: 13 Jan 2006 00:02:34 +0000
Message-Id: <01c301c617d4$864b1150$6401a8c0@winXP>

> 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).

Hmmm..  0xFFFF0000 isn't 0, are hw color format are you running, RGB or 565?
I'm confused by these values.


> 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?

Since you're running CVS, it isn't the transparent color bug then, since
that's
known fixed.  Look for usage of GrSetGCUseBackground, that should probably
always be set to TRUE.

Does this happen only with TTF fonts, and not with fixed?  Always works
on X11 but not on your target?

Regards,

Greg


Previous by date: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Greg Haerr
Next by date: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Martin Kajdas
Previous in thread: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Greg Haerr
Next in thread: 13 Jan 2006 00:02:34 +0000 Re: Font usage/setup, Martin Kajdas


Powered by ezmlm-browse 0.20.