emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/android 1eb24c6c381: ; * src/sfnt.c (sfnt_infer_deltas): Improve


From: Po Lu
Subject: feature/android 1eb24c6c381: ; * src/sfnt.c (sfnt_infer_deltas): Improve commentary.
Date: Wed, 19 Jul 2023 03:00:55 -0400 (EDT)

branch: feature/android
commit 1eb24c6c3812833864dce42a09ac497db1946758
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/sfnt.c (sfnt_infer_deltas): Improve commentary.
---
 src/sfnt.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

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.  */
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]