[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] assertion failure in cf2hints.c
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] assertion failure in cf2hints.c |
Date: |
Thu, 15 Oct 2015 07:33:31 +0200 (CEST) |
> I've run across a font that causes an assertion failure at line 591
> in cf2hints.c:
>
> /* paired edges must be in proper order */
> FT_ASSERT( !isPair ||
> topHintEdge->csCoord >= bottomHintEdge->csCoord );
>
> I'm wondering: is there some reason this is an assertion, rather
> than an error that gets reported back to the caller? I.e., why
> doesn't it fall into the same general category as any other sort of
> invalid/corrupted font?
I don't think there's a specific reason for this. This code was
simply inherited while integrating it to FreeType, and up to now we
haven't seen a failure here.
> I can extract the font and post it, if needed.
Please file a bug report and attach the failing font to it!
Werner