forked from minhngoc25a/freetype2
* src/cff/cf2font.c (cf2_getGlyphWidth): Fix uninitialized variable.
Fix suggested by Vaibhav Nagarnaik <vnagarnaik@gmail.com>.
This commit is contained in:
parent
8d6025c8da
commit
7441dd874d
|
@ -1,3 +1,9 @@
|
|||
2013-05-13 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cf2font.c (cf2_getGlyphWidth): Fix uninitialized variable.
|
||||
|
||||
Fix suggested by Vaibhav Nagarnaik <vnagarnaik@gmail.com>.
|
||||
|
||||
2013-05-13 Brian Nixon <bnixon@yahoo.com>
|
||||
|
||||
Fix Savannah bug #38970.
|
||||
|
|
|
@ -387,11 +387,11 @@
|
|||
/* finish storing client outline */
|
||||
cf2_outline_close( &font->outline );
|
||||
|
||||
exit:
|
||||
/* FreeType just wants the advance width; there is no translation */
|
||||
*glyphWidth = advWidth;
|
||||
|
||||
/* free resources and collect errors from objects we've used */
|
||||
exit:
|
||||
cf2_setError( &font->error, lastError );
|
||||
|
||||
return font->error;
|
||||
|
|
Loading…
Reference in New Issue