FDK/Tools/Programs/public/lib/source/cffwrite/cffwrite_t2cstr.c
/* Match stems if both edges are within 2 units. */
Match stems if both edges are within 2 units.
Match stems if both edges are within 2 units .
static int approxMatch(Stem *new, Stem *old)
	{
	float delta0 = new->edge0 - old->edge0; 
	float delta1 = new->edge1 - old->edge1;
	return ((old->flags & STEM_CNTR) &&
			(new->flags & STEM_VERT) == (old->flags & STEM_VERT) &&
			-2.0f < delta0 && delta0 < 2.0f &&
			-2.0f < delta1 && delta1 < 2.0f);
	}
static int approxMatch ( Stem * new , Stem * old ) { float delta0 = new -> edge0 - old -> edge0 ; float delta1 = new -> edge1 - old -> edge1 ; return ( ( old -> flags & STEM_CNTR ) && ( new -> flags & STEM_VERT ) == ( old -> flags & STEM_VERT ) && -2.0f < delta0 && delta0 < 2.0f && -2.0f < delta1 && delta1 < 2.0f ) ; }
Match stems if both edges are within 2 units.
Match stems if both edges are within 2 units .