diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2017-02-01 22:36:16 -0500 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2017-02-01 22:36:16 -0500 |
commit | a3754d662652e12da290e504692ac08538bc1dd8 (patch) | |
tree | 0f5eb102666e6ed4e7d290436ffaf62117532e0b /src/smooth | |
parent | 2ca5b07d4f27a1f1c3be9438c49b41a15a84ff7b (diff) | |
download | freetype2-a3754d662652e12da290e504692ac08538bc1dd8.tar.gz |
Comment.
Diffstat (limited to 'src/smooth')
-rw-r--r-- | src/smooth/ftgrays.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index c590cce9f..349af7f83 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -341,7 +341,8 @@ typedef ptrdiff_t FT_PtrDist; /* Compute `dividend / divisor' and return both its quotient and */ /* remainder, cast to a specific type. This macro also ensures that */ - /* the remainder is always positive. */ + /* the remainder is always positive. We use the remainder to keep */ + /* track of accumulating errors and compensate for them. */ #define FT_DIV_MOD( type, dividend, divisor, quotient, remainder ) \ FT_BEGIN_STMNT \ (quotient) = (type)( (dividend) / (divisor) ); \ |