* src/smooth/ftgrays.c (FT_MAX_GRAY_SPANS): Increase from 10 to 16.

Ten was barely enough for two slanted stems. Sixteen can actually fit
a bit more complicated scanlines.
This commit is contained in:
Alexei Podtelezhnikov 2021-05-12 17:24:35 -04:00
parent c653b8d2f1
commit 2d3f5dd294
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2021-05-12 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/smooth/ftgrays.c (FT_MAX_GRAY_SPANS): Increase from 10 to 16.
Ten was barely enough for two slanted stems. Sixteen can actually fit
a bit more complicated scanlines.
2021-05-11 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/smooth/ftgrays.c (FT_GRAY_SET): Adjust for better code.

View File

@ -467,7 +467,7 @@ typedef ptrdiff_t FT_PtrDist;
#endif
/* FT_Span buffer size for direct rendering only */
#define FT_MAX_GRAY_SPANS 10
#define FT_MAX_GRAY_SPANS 16
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */