[cff] Remove an assert (#46107).
* src/cff/cf2hints.c (cf2_hintmap_insertHint): Ignore paired edges in wrong order.
This commit is contained in:
parent
e6593389cf
commit
748e368173
|
@ -1,3 +1,10 @@
|
||||||
|
2015-10-21 Dave Arnold <darnold@adobe.com>
|
||||||
|
|
||||||
|
[cff] Remove an assert (#46107).
|
||||||
|
|
||||||
|
* src/cff/cf2hints.c (cf2_hintmap_insertHint): Ignore paired edges
|
||||||
|
in wrong order.
|
||||||
|
|
||||||
2015-10-21 Werner Lemberg <wl@gnu.org>
|
2015-10-21 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[sfnt] Avoid unnecessarily large allocation for WOFFs (#46257).
|
[sfnt] Avoid unnecessarily large allocation for WOFFs (#46257).
|
||||||
|
|
|
@ -587,8 +587,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* paired edges must be in proper order */
|
/* paired edges must be in proper order */
|
||||||
FT_ASSERT( !isPair ||
|
if ( isPair &&
|
||||||
topHintEdge->csCoord >= bottomHintEdge->csCoord );
|
topHintEdge->csCoord < bottomHintEdge->csCoord )
|
||||||
|
return;
|
||||||
|
|
||||||
/* linear search to find index value of insertion point */
|
/* linear search to find index value of insertion point */
|
||||||
indexInsert = 0;
|
indexInsert = 0;
|
||||||
|
|
Loading…
Reference in New Issue