summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2020-10-10 12:48:18 +0200
committerWerner Lemberg <wl@gnu.org>2020-10-10 12:48:18 +0200
commitc9f588be56a6c89c210284711417130ea53bd72e (patch)
tree76ab75d1f611d42807a47b23f0f40045715f5a27 /src
parent40479fad93fd939450f1c0efb54a99074cb1b5d3 (diff)
downloadfreetype2-c9f588be56a6c89c210284711417130ea53bd72e.tar.gz
Document changes to last release.
Diffstat (limited to 'src')
-rw-r--r--src/raster/ftraster.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 1408e5173..9f0a7976f 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -459,8 +459,9 @@
#define IS_TOP_OVERSHOOT( x ) \
(Bool)( x - FLOOR( x ) >= ras.precision_half )
- /* smart dropout rounding to find which pixel is closer to span ends; */
- /* to mimick Windows, symmetric cases break down indepenent of precision */
+ /* Smart dropout rounding to find which pixel is closer to span ends. */
+ /* To mimick Windows, symmetric cases break down indepenently of the */
+ /* precision. */
#define SMART( p, q ) FLOOR( ( (p) + (q) + ras.precision * 63 / 64 ) >> 1 )
#if FT_RENDER_POOL_SIZE > 2048
@@ -2507,7 +2508,7 @@
x2 / (double)ras.precision ));
/* We should not need this procedure but the vertical sweep */
- /* mishandles horizontal lines through pixel centers. So we */
+ /* mishandles horizontal lines through pixel centers. So we */
/* have to check perfectly aligned span edges here. */
/* */
/* XXX: Can we handle horizontal lines better and drop this? */