nanogui: Wrong colors with Freetype(2) and big endian archs


Previous by date: 19 Sep 2008 01:57:38 -0000 Re: Wrong colors with Freetype(2) and big endian archs, Kees Schoenmakers
Next by date: 19 Sep 2008 01:57:38 -0000 problem building nxlib, Anirudh Venkataramanan
Previous in thread: 19 Sep 2008 01:57:38 -0000 Re: Wrong colors with Freetype(2) and big endian archs, Kees Schoenmakers
Next in thread:

Subject: Re: [nanogui] Wrong colors with Freetype(2) and big endian archs
From: "Greg Haerr" ####@####.####
Date: 19 Sep 2008 01:57:38 -0000
Message-Id: <01c301c919fb$533863e0$2f01a8c0@HaydenLake>

: Using nano-X under AVR32 the Freetype2 support renders font colors with
: red and blue colors reversed mixed up (at 24bit color depth).
: 
: IIRC the Freetype library deliver a greyscaled bitmapped image of the
: character to be drawn (glyph image?), which is then transformed into the
: color requested via nano-X.
: 
: Can someone please point me where this greyscale to color transformation
: takes place?

The FB2 subdriver uses the psd->drawarea entry point,
which may not be fully configured for your system.  The
drawarea entry point is a replacement for blit, as it
was contributed, but not fully integrated in every driver.
Since you're running 24bpp, the driver file src/drivers/fblin24.c
will be used.  Compare the drawarea implementation with
the fblin32.c and fblin16.c versions.  There may be some
byte swapping or word orientation issues also.

Regards,

Greg

Previous by date: 19 Sep 2008 01:57:38 -0000 Re: Wrong colors with Freetype(2) and big endian archs, Kees Schoenmakers
Next by date: 19 Sep 2008 01:57:38 -0000 problem building nxlib, Anirudh Venkataramanan
Previous in thread: 19 Sep 2008 01:57:38 -0000 Re: Wrong colors with Freetype(2) and big endian archs, Kees Schoenmakers
Next in thread:


Powered by ezmlm-browse 0.20.