nanogui: Screenshot of FreeType2 2.3.5
Re: [nanogui] Screenshot of FreeType2 2.3.5
29 Apr 2010 15:05:16 -0000
2010/4/29 Greg Haerr ####@####.####
> : Only white on black and black on white seems to render correctly. Am I
> : doing something wrong?
> Again, make sure you're running the git code, as many changes have
> been made recently with anti aliased drawing. (These use the
> drawarea_alphacol entry point, versus drawarea_msb_first for
> no-anti aliasing).
I do run latest Git code. I actually pulled a few hours ago, right
before taking those screenshots. :-)
> Of course, you'll also make sure you have the MWFT_ANTIALIAS
> flag set using GrSetFontAttr().
That, I do.
> : Compiling with SCREEN_PIXTYPE = MWPF_TRUECOLOR0888.
> Actually, this only sets the MWPIXELVAL typedef. The
> actual framebuffer drawing subdriver that is used depends on
> the specific fb geometry. From your posted results, you're
> running the fblin24.c driver (which implements alpha blending
> for freetype 2 using alpha col)
Thanks for pointing out the underlaying nature!
> BTW, if you send me the source to your demo program,
> I'll add it as a test program to our tree :)
Well, it's just a five minute hack. Watch the crappy uncleand
copy-and-paste code at Gist:
Any further ideas how to make Freetype2 working? Has it got to do with
the big endian target? If I just get a point to start debug, I'll do
that tomorrow. Now it's time to go home. :-)