* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'.

This commit is contained in:
Werner Lemberg 2005-05-27 04:18:20 +00:00
parent 6d8c18214e
commit 3a36ef7e6e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-05-27 Chia I Wu <b90201047@ntu.edu.tw>
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'.
2005-05-26 Werner Lemberg <wl@gnu.org>
* docs/GPL.txt: Update postal address of FSF.

View File

@ -75,8 +75,8 @@
{
FT_Library library = slot->library;
FT_Face face = FT_SLOT_FACE( slot );
FT_Error error = FT_Err_Ok;
FT_Pos xstr, ystr;
FT_Error error;
/* some reasonable strength */
@ -87,7 +87,7 @@
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
{
error = FT_Outline_Embolden( &slot->outline, xstr );
xstr = xstr * 4 ; /* according to the documentation */
xstr = xstr * 4; /* according to the documentation */
ystr = xstr;
}
else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )