From: Po Lu Date: Mon, 18 Dec 2023 12:57:24 +0000 (+0800) Subject: * src/sfnt.c (sfnt_interpret_mdap): Correct MDAP opcode. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a54bec26c44b44bd10936bbeb93b1018c7270a23;p=emacs.git * src/sfnt.c (sfnt_interpret_mdap): Correct MDAP opcode. --- diff --git a/src/sfnt.c b/src/sfnt.c index 8bc37c1b978..4d8d3d4b72f 100644 --- a/src/sfnt.c +++ b/src/sfnt.c @@ -9756,7 +9756,7 @@ sfnt_deltac (int number, struct sfnt_interpreter *interpreter, Touch the point P (within the zone specified in zp0) in the directions specified in the freedom vector. Then, if OPCODE is - 0x7f, round the point and move it the rounded distance along the + 0x2f, round the point and move it the rounded distance along the freedom vector. Finally, set the RP0 and RP1 registers to P. */ @@ -9772,7 +9772,7 @@ sfnt_interpret_mdap (struct sfnt_interpreter *interpreter, /* Measure the current distance. */ here = sfnt_project_vector (interpreter, px, py); - if (opcode == 0x7f) + if (opcode == 0x2f) { /* Measure distance, round, then move to the distance. */ distance = sfnt_project_vector (interpreter, px, py); @@ -20508,8 +20508,8 @@ main (int argc, char **argv) return 1; } -#define FANCY_PPEM 12 -#define EASY_PPEM 12 +#define FANCY_PPEM 14 +#define EASY_PPEM 14 interpreter = NULL; head = sfnt_read_head_table (fd, font);