diff options
Diffstat (limited to 'core/src/fxge')
-rw-r--r-- | core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c | 2 | ||||
-rw-r--r-- | core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c index 6fc908b658..d06e161db9 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c +++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c @@ -282,6 +282,8 @@ FT_Matrix font_matrix; FT_Vector font_offset; + font_offset.x = 0; + font_offset.y = 0; FT_Data glyph_data; FT_Bool must_finish_decoder = FALSE; #ifdef FT_CONFIG_OPTION_INCREMENTAL diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c index 76e36f82e7..661dd075eb 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c +++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c @@ -1100,8 +1100,8 @@ FT_Matrix* matrix = &face->type1.font_matrix; FT_Vector* offset = &face->type1.font_offset; FT_Face root = (FT_Face)&face->root; - FT_Fixed temp[6]; - FT_Fixed temp_scale; + FT_Fixed temp[6] = {0, 0, 0, 0, 0, 0}; + FT_Fixed temp_scale = 0; FT_Int result; |