diff options
Diffstat (limited to 'src/cff/cf2hints.c')
-rw-r--r-- | src/cff/cf2hints.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cff/cf2hints.c b/src/cff/cf2hints.c index 0e27000..bbbe8e3 100644 --- a/src/cff/cf2hints.c +++ b/src/cff/cf2hints.c @@ -587,8 +587,9 @@ } /* paired edges must be in proper order */ - FT_ASSERT( !isPair || - topHintEdge->csCoord >= bottomHintEdge->csCoord ); + if ( isPair && + topHintEdge->csCoord < bottomHintEdge->csCoord ) + return; /* linear search to find index value of insertion point */ indexInsert = 0; |