зеркало из https://github.com/stride3d/freetype.git
fix stupid typo that prevented the truetype loader from working correctly
This commit is contained in:
Родитель
5b4d435a96
Коммит
8f626b04f3
|
@ -1,3 +1,8 @@
|
|||
2007-06-23 David Turner <david@freetype.org>
|
||||
|
||||
* src/truetype/ttgload.c (TT_Load_Simple): fix typo that prevented
|
||||
the truetype loader from loading most glyphs. ooops !
|
||||
|
||||
2007-06-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28
|
||||
|
|
|
@ -271,7 +271,7 @@
|
|||
for ( cont++; cont < cont_limit; cont++ )
|
||||
{
|
||||
cont[0] = FT_NEXT_USHORT( p );
|
||||
if ( cont[0] > prev_cont )
|
||||
if ( cont[0] <= prev_cont )
|
||||
{
|
||||
/* unordered contours: this is invalid */
|
||||
error = FT_Err_Invalid_Table;
|
||||
|
|
Загрузка…
Ссылка в новой задаче