Commit 762de5e2850d16ab0ef671e3e307b99df1956eb9

Alexei Podtelezhnikov 2017-07-06T22:31:57

Tweak suggested use of `lsb_delta' and `rsb_delta'.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index bb59d09..7301863 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1795,9 +1795,9 @@ FT_BEGIN_HEADER
   /*                                                                       */
   /*        <load glyph with `FT_Load_Glyph'>                              */
   /*                                                                       */
-  /*        if ( prev_rsb_delta - slot->lsb_delta >= 32 )                  */
+  /*        if ( prev_rsb_delta - slot->lsb_delta >  32 )                  */
   /*          origin_x -= 64;                                              */
-  /*        else if ( prev_rsb_delta - slot->lsb_delta < -32 )             */
+  /*        else if ( prev_rsb_delta - slot->lsb_delta < -31 )             */
   /*          origin_x += 64;                                              */
   /*                                                                       */
   /*        prev_rsb_delta = slot->rsb_delta;                              */