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

david-pic-changes
Werner Lemberg 20 years ago
parent 6d8c18214e
commit 3a36ef7e6e
  1. 4
      ChangeLog
  2. 4
      src/base/ftsynth.c

@ -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.

@ -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 )

Loading…
Cancel
Save