зеркало из https://github.com/stride3d/freetype.git
Fix Savannah bug #37178.
* src/base/ftobjs.c (FT_Open_Face): Initialize `error' with `FT_Err_Missing_Module' before loop to indicate `no valid drivers'.
This commit is contained in:
Родитель
68fe6a9afa
Коммит
b355b5693a
|
@ -1,3 +1,10 @@
|
|||
2012-08-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #37178.
|
||||
|
||||
* src/base/ftobjs.c (FT_Open_Face): Initialize `error' with
|
||||
`FT_Err_Missing_Module' before loop to indicate `no valid drivers'.
|
||||
|
||||
2012-08-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.
|
||||
|
|
|
@ -2055,11 +2055,12 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
error = FT_Err_Missing_Module;
|
||||
|
||||
/* check each font driver for an appropriate format */
|
||||
cur = library->modules;
|
||||
limit = cur + library->num_modules;
|
||||
|
||||
|
||||
for ( ; cur < limit; cur++ )
|
||||
{
|
||||
/* not all modules are font drivers, so check... */
|
||||
|
|
Загрузка…
Ссылка в новой задаче