Commit 526a5197 authored by Jonathan Kew's avatar Jonathan Kew Committed by dsmith@mozilla.com
Browse files

Bug 2032043 - Cherry-pick commit 1803559c from upstream freetype. a=dsmith

parent acbc9d6f
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -5337,13 +5337,11 @@
    /* XXX: UNDOCUMENTED! SHZ doesn't move the phantom points.     */
    /*      Twilight zone has no real contours, so use `n_points'. */
    /*      Normal zone's `n_points' includes phantoms, so must    */
    /*      use end of last contour.                               */
    /*      subtract them.                                         */
    if ( exc->GS.gep2 == 0 )
      limit = exc->zp2.n_points;
    else if ( exc->GS.gep2 == 1 && exc->zp2.n_contours > 0 )
      limit = exc->zp2.contours[exc->zp2.n_contours - 1] + 1;
    else
      limit = 0;
      limit = exc->zp2.n_points - 4U;

    /* XXX: UNDOCUMENTED! SHZ doesn't touch the points */
    for ( i = 0; i < limit; i++ )