Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c

Issue 354413002: Fix uninitialized font_offset (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: init temp and temp_scale Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c
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 6fc908b6585b0bb252cf6a35f7b02a8b704c0e28..d06e161db96726c447ab9e6a20ff2cbb02e438a8 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
« no previous file with comments | « no previous file | core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698