* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Initialize `error'.
This commit is contained in:
parent
6d8c18214e
commit
3a36ef7e6e
|
@ -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>
|
2005-05-26 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* docs/GPL.txt: Update postal address of FSF.
|
* docs/GPL.txt: Update postal address of FSF.
|
||||||
|
|
|
@ -75,8 +75,8 @@
|
||||||
{
|
{
|
||||||
FT_Library library = slot->library;
|
FT_Library library = slot->library;
|
||||||
FT_Face face = FT_SLOT_FACE( slot );
|
FT_Face face = FT_SLOT_FACE( slot );
|
||||||
|
FT_Error error = FT_Err_Ok;
|
||||||
FT_Pos xstr, ystr;
|
FT_Pos xstr, ystr;
|
||||||
FT_Error error;
|
|
||||||
|
|
||||||
|
|
||||||
/* some reasonable strength */
|
/* some reasonable strength */
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
|
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
|
||||||
{
|
{
|
||||||
error = FT_Outline_Embolden( &slot->outline, xstr );
|
error = FT_Outline_Embolden( &slot->outline, xstr );
|
||||||
xstr = xstr * 4 ; /* according to the documentation */
|
xstr = xstr * 4; /* according to the documentation */
|
||||||
ystr = xstr;
|
ystr = xstr;
|
||||||
}
|
}
|
||||||
else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )
|
else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )
|
||||||
|
|
Loading…
Reference in New Issue