Hello
On 31.05.10, you wrote:
Well, I didn't even noticed mad colors. a.) Maybe thats because I'm color
blind b.) Maybe that's because of the screenshot program. c.) Maybe it's
really mad. :)
the colors on your GUI are wrong.more you can see when you go online and show a page.
coldfire is big endian same as 68k, and nsfb work only little endian with offical
source.even with
native GUI you need pixel convert routines for Big endian
you can use the amiga nsfb code attached.it should bring you correct colors when this
statement is
true.
#if __BYTE_ORDER == __BIG_ENDIAN
there is also a Bug fixed i report some time ago in the 16bit plotter file
fgcol must be 32 bit var.
the attached files work on Amiga 68k CPU for 16 bit and 32 bit screen.but you should use
SDL_HWSURFACE
static bool
glyph8(nsfb_t *nsfb,
nsfb_bbox_t *loc,
const uint8_t *pixel,
int pitch,
nsfb_colour_t c)
{
uint16_t *pvideo;
nsfb_colour_t abpixel; /* alphablended pixel */
int xloop, yloop;
int xoff, yoff; /* x and y offset into image */
int x = loc->x0;
int y = loc->y0;
int width = loc->x1 - loc->x0;
int height = loc->y1 - loc->y0;
- uint16_t fgcol;
+ uint32_t fgcol;
> As for text not appearing, have you tried it with both the
internal text
> and freetype text? It's a build option.
I did not inspected these options, I will have a look.
internal Fonts do not work on amiga 68k, only freetype with antialiasing work.
there seem a problem in static bool
glyph1(nsfb_t *nsfb,
older netsurf work, but newer not.maybe its a endian issue when it work on your Linux
build and
internal fonts
maybe you can confirm this
Thanks for your informations,
greets,
Ole
Regards