Re: [Freetype-devel] Re: GSOC - Distance Fields

2020-06-22 Thread Alexei Podtelezhnikov
Hi Anuj, Good job again! > > foreach line > >for proximal gridpoints > > do work > > > > where proximal is at most 8 grid units away. The rest is truncated > > (clamped) at 8. I am choosing 8 because this is probably enough (or > > not). > > I tried this method, and yes it is very

Re: Overlap oversampling

2020-06-22 Thread Alexei Podtelezhnikov
Hi again, The oversampling is implemented though inflating the outline and then averaging the increased number of cells using FT_RASTER_FLAG_DIRECT mechanism. The first two patches set the stage by splitting the code paths for LCD rendering out of the way and trying FT_RASTER_FLAG_DIRECT for

Overlap oversampling

2020-06-22 Thread Alexei Podtelezhnikov
Hi everybody, This is a proof of concept for oversampling to decrease artifacts in rendering overlaps. The attached images show how the artifact visible at the top of B, E, F, T decreases as we increase oversampling from 1x1, to 2x2, to 4x4. The price is doubling and quadrupling the rendering

Re: [Freetype-devel] Re: GSOC - Distance Fields

2020-06-22 Thread Anuj Verma
Hello Alexei, > I actually think that it is faster > > foreach line >for proximal gridpoints > do work > > where proximal is at most 8 grid units away. The rest is truncated > (clamped) at 8. I am choosing 8 because this is probably enough (or > not). I tried this method, and yes it is