forked from minhngoc25a/freetype2
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:
parent
68fe6a9afa
commit
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>
|
2012-08-17 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.
|
* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.
|
||||||
|
|
|
@ -2055,11 +2055,12 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
error = FT_Err_Missing_Module;
|
||||||
|
|
||||||
/* check each font driver for an appropriate format */
|
/* check each font driver for an appropriate format */
|
||||||
cur = library->modules;
|
cur = library->modules;
|
||||||
limit = cur + library->num_modules;
|
limit = cur + library->num_modules;
|
||||||
|
|
||||||
|
|
||||||
for ( ; cur < limit; cur++ )
|
for ( ; cur < limit; cur++ )
|
||||||
{
|
{
|
||||||
/* not all modules are font drivers, so check... */
|
/* not all modules are font drivers, so check... */
|
||||||
|
|
Loading…
Reference in New Issue