[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlap oversampling
From: |
Alexei Podtelezhnikov |
Subject: |
Re: Overlap oversampling |
Date: |
Fri, 3 Jul 2020 22:40:18 -0400 |
Hi guys,
After some more thinking I committed thw oversampling implementation.
It requires new FT_OUTLINE_OVERLAP to use this method consciously.
Alexei
PS: To quickly test it use this one-liner:
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
index b32629205..e6d5d04f4 100644
--- a/src/smooth/ftsmooth.c
+++ b/src/smooth/ftsmooth.c
@@ -494,7 +494,7 @@
if ( mode == FT_RENDER_MODE_NORMAL ||
mode == FT_RENDER_MODE_LIGHT )
{
- if ( outline->flags & FT_OUTLINE_OVERLAP )
+ if ( outline->flags & FT_OUTLINE_OVERLAP || 1 )
error = ft_smooth_raster_overlap( render, outline, bitmap );
else
{
- Re: Overlap oversampling,
Alexei Podtelezhnikov <=