From: Po Lu Date: Wed, 19 Jul 2023 07:00:39 +0000 (+0800) Subject: ; * src/sfnt.c (sfnt_infer_deltas): Improve commentary. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1eb24c6c3812833864dce42a09ac497db1946758;p=emacs.git ; * src/sfnt.c (sfnt_infer_deltas): Improve commentary. --- diff --git a/src/sfnt.c b/src/sfnt.c index dc190aa950b..10321a09c8b 100644 --- a/src/sfnt.c +++ b/src/sfnt.c @@ -14210,8 +14210,9 @@ sfnt_infer_deltas_1 (struct sfnt_glyph *glyph, size_t start, - For each point that lies between the first point and the last on the axis currently being considered, interpolate its - position in that axis so that the ratio between the first - point and the last in the original outline still holds. + position in that axis so that the ratio formed by its position + relative to the first and last points of the pair in the + original outline still holds. - For each point that lies to the left or top of the first point on the axis being considered, use the delta of the first point. @@ -14220,9 +14221,9 @@ sfnt_infer_deltas_1 (struct sfnt_glyph *glyph, size_t start, the last point on that axis, use the delta of the last point. - X and Y contain the original positions positions of each point. - TOUCHED contains whether or not each point has been changed by - an explicitly specified delta. + X and Y contain the original positions of each point. + TOUCHED contains whether or not each point within GLYPH has been + changed through variation. Apply the inferred deltas back to GLYPH. */