From 2628ea9c12cbc6dab86c2b502835d5ea16d52c04 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 10 Jan 2007 13:15:56 +0000 Subject: [PATCH] * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed a typo which created an endless loop with some malformed font files --- ChangeLog | 6 ++++++ src/pshinter/pshalgo.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dd291d6a0..4fe7145a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-10 David Turner + + * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): + fixed a typo which created an endless loop with some malformed + font files + 2007-01-10 Derek Clegg * src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c index 7d6b2ec03..10ae7ef57 100644 --- a/src/pshinter/pshalgo.c +++ b/src/pshinter/pshalgo.c @@ -1032,7 +1032,7 @@ orient_prev = psh_corner_orientation( in_x, in_y, out_x, out_y ); - } while ( orient_prev != 0 ); + } while ( orient_prev == 0 ); first = start; in_x = out_x;