nanogui: Screenshot of FreeType2 2.3.5


Previous by date: 30 Apr 2010 15:43:15 -0000 PCF font render regression?, Daniel Nyström
Next by date: 30 Apr 2010 15:43:15 -0000 Re: PCF font render regression?, Greg Haerr
Previous in thread: 30 Apr 2010 15:43:15 -0000 [nanogui] Screenshot of FreeType2 2.3.5, Daniel Nyström
Next in thread: 30 Apr 2010 15:43:15 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr

Subject: Re: [nanogui] Screenshot of FreeType2 2.3.5
From: "Greg Haerr" ####@####.####
Date: 30 Apr 2010 15:43:15 -0000
Message-Id: <00c101cae87c$3ad448e0$0300a8c0@RDP>

> It's alot better, but still outlined in under certain circumstances.
It looks alot better on the screenshot, but the artifact is more clear
on my tft screen so I've attached a photo of it too (now using arial
font).

Daniel - 

Oh, the fun and wonderfulness of writing and rewriting six
bit-twiddling drivers all at once!! LOL

In looking very closely at your TFT picture, it seems that the
"outline" is actually the anti-aliasing pixels, drawn in the wrong
colors.  Since you're running the fblin24 driver, it must be
that the RGB colors are in the reversed order, BGR, or
vice versa in the blend code.  

I don't have access to the source directly, but I think you
need to edit fblin24.c::linear24_drawarea_alphacol, and
reverse the R and B order in the core blending.  IIRC
there are two source variables psr and psb, which 
should be swapped (since the destination writes need to
stay in the same order.

If this works, it means that the order of the alpha-channel
RGB is opposite what I thought it was.  Give it a try and
let me know.  And thanks for looking closely at the output,
shows I probably need stronger glasses! LOL!!

Regards,

Greg

Previous by date: 30 Apr 2010 15:43:15 -0000 PCF font render regression?, Daniel Nyström
Next by date: 30 Apr 2010 15:43:15 -0000 Re: PCF font render regression?, Greg Haerr
Previous in thread: 30 Apr 2010 15:43:15 -0000 [nanogui] Screenshot of FreeType2 2.3.5, Daniel Nyström
Next in thread: 30 Apr 2010 15:43:15 -0000 Re: Screenshot of FreeType2 2.3.5, Greg Haerr


Powered by ezmlm-browse 0.20.