emacs-diffs
[Top][All Lists]
Advanced

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

feature/android af6af86d08e 1/2: Update Android port


From: Po Lu
Subject: feature/android af6af86d08e 1/2: Update Android port
Date: Tue, 28 Mar 2023 20:42:37 -0400 (EDT)

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

    Update Android port
    
    * src/sfnt.c (sfnt_validate_gs): Fix validation of projection
    vector.
---
 src/sfnt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sfnt.c b/src/sfnt.c
index d2c726367cb..55739ced915 100644
--- a/src/sfnt.c
+++ b/src/sfnt.c
@@ -7567,7 +7567,7 @@ sfnt_move_zp1 (struct sfnt_interpreter *interpreter, 
uint32_t point,
 }
 
 /* Move N points starting from the specified POINT in the zone
-   addressed by INTERPRETER's ZP1 register by the given DISTANCE along
+   addressed by INTERPRETER's ZP2 register by the given DISTANCE along
    the freedom vector.
 
    No checking is done to ensure that POINT lies inside the zone, or
@@ -9526,7 +9526,7 @@ sfnt_validate_gs (struct sfnt_graphics_state *gs)
      aligned to an axis.  */
 
   if (gs->freedom_vector.x == 040000
-      && gs->projection_vector.y == 040000)
+      && gs->projection_vector.x == 040000)
     gs->move = sfnt_move_x;
   else if (gs->freedom_vector.y == 040000
           && gs->projection_vector.y == 040000)



reply via email to

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