[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master a3754d6: Comment.
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2] master a3754d6: Comment. |
Date: |
Thu, 2 Feb 2017 03:37:16 +0000 (UTC) |
branch: master
commit a3754d662652e12da290e504692ac08538bc1dd8
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
Comment.
---
src/smooth/ftgrays.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index c590cce..349af7f 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) ); \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master a3754d6: Comment.,
Alexei Podtelezhnikov <=