nanogui: framebuffer vs. color scheme


Previous by date: 13 Jun 2002 16:02:17 -0000 Re: PNG support, Alex Holden
Next by date: 13 Jun 2002 16:02:17 -0000 VNC Server for nano-X, Gianci
Previous in thread:
Next in thread: 13 Jun 2002 16:02:17 -0000 Re: framebuffer vs. color scheme, Greg Haerr

Subject: framebuffer vs. color scheme
From: Harry Lin ####@####.####
Date: 13 Jun 2002 16:02:17 -0000
Message-Id: <3D08BF92.15320A22@hauppauge.com>

Hi,

I have an 8-bit fbgen implementation, and i'd like to use microwin ontop
of it...........
so as i understand, i should set SCREEN_PIXTYPE to MWPF_TRUECOLOR0888,
then use fbset to change depth.
however, when try to draw truetype fonts(freetype1.3.1) after fbset
-depth 8, always fails on assert (c < nccolors)........it seems that the
compile time MWPF_TRYECOLOR0888 will set the pixelvar2colorvar always as
ulong, thus the c value could easily bigger than ncolor (2^8 = 0x100)???

anybody noticed the similar problem? any advice?

Thanx

Harry



Previous by date: 13 Jun 2002 16:02:17 -0000 Re: PNG support, Alex Holden
Next by date: 13 Jun 2002 16:02:17 -0000 VNC Server for nano-X, Gianci
Previous in thread:
Next in thread: 13 Jun 2002 16:02:17 -0000 Re: framebuffer vs. color scheme, Greg Haerr


Powered by ezmlm-browse 0.20.