[truetype] Fix a bug in the sfnt table checksum getter.
* src/truetype/ttobjs.c (tt_get_sfnt_checksum): Check the return value of face->goto_table() correctly.
This commit is contained in:
parent
b9aa1f1339
commit
89208861ef
|
@ -1,3 +1,10 @@
|
|||
2011-04-29 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
[truetype] Fix a bug in the sfnt table checksum getter.
|
||||
|
||||
* src/truetype/ttobjs.c (tt_get_sfnt_checksum): Check the
|
||||
return value of face->goto_table() correctly.
|
||||
|
||||
2011-04-28 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Improve tracing messages.
|
||||
|
|
|
@ -219,10 +219,10 @@
|
|||
else if ( !face->goto_table )
|
||||
return 0;
|
||||
|
||||
else if ( !face->goto_table( face,
|
||||
face->dir_tables[i].Tag,
|
||||
face->root.stream,
|
||||
NULL ) )
|
||||
else if ( face->goto_table( face,
|
||||
face->dir_tables[i].Tag,
|
||||
face->root.stream,
|
||||
NULL ) )
|
||||
return 0;
|
||||
|
||||
return (FT_ULong)tt_synth_sfnt_checksum( face->root.stream,
|
||||
|
|
Loading…
Reference in New Issue