nanogui: Screenshot of FreeType2 2.3.5


Previous by date: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr
Next by date: 29 Apr 2010 15:05:16 -0000 Re: Current status on alpha blending support?, Greg Haerr
Previous in thread: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr
Next in thread: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr

Subject: Re: [nanogui] Screenshot of FreeType2 2.3.5
From: Daniel ####@####.####
Date: 29 Apr 2010 15:05:16 -0000
Message-Id: <q2gd08fc9ca1004290804lebe00cai4538155d8826b37b@mail.gmail.com>

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:
http://gist.github.com/383732


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

Regards
Daniel

Previous by date: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr
Next by date: 29 Apr 2010 15:05:16 -0000 Re: Current status on alpha blending support?, Greg Haerr
Previous in thread: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr
Next in thread: 29 Apr 2010 15:05:16 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr


Powered by ezmlm-browse 0.20.