[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Freetype2 & gamma correction
From: |
Billy Biggs |
Subject: |
Re: [Devel] Freetype2 & gamma correction |
Date: |
Sun, 30 Mar 2003 08:30:35 -0600 |
User-agent: |
Mutt/1.3.28i |
Artur Zaprzala (address@hidden):
> I've implemented OSD font renderer for MPlayer that draws borders
> around glyphs by convolving image with a circle and than doing a
> gaussian blur. I doubt supersampling will give much more quality.
> Since then I found a better (faster and higher quality) algorithm
> based on distance measurement with subpixel accuracy, assuming for
> siplicity that pixel coverage is equivalent to a distance, but hadn't
> time to clean it up for public release.
I was playing with the subpixel distance thing, but I'm worried about
small text, where the same pixel is covered on two sides. I'm not sure
about how to handle that case. Thoughts?
Can I see your algorithm? :)
> Another way is to use experimental stroker module from FreeType.
I did not know about it, I'll look around for it thanks.
Also, is your OSD font renderer in the MPlayer sources? Maybe we can
share some code...
--
Billy Biggs
address@hidden