* src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is
initialized twice. size->strike_index is not initialized.
This commit is contained in:
parent
a10a9f91f7
commit
a3690cdadd
@ -1,3 +1,9 @@
|
||||
2005-12-06 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||
|
||||
* src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is
|
||||
initialized twice.
|
||||
size->strike_index is not initialized.
|
||||
|
||||
2005-12-02 Taek Kwan(TK) Lee <taeklee@gmail.com>
|
||||
|
||||
* src/type42/t42objs.x (T42_Face_Init): Replace call to
|
||||
|
@ -507,8 +507,6 @@
|
||||
TT_MaxProfile* maxp = &face->max_profile;
|
||||
|
||||
|
||||
size->ttmetrics.valid = FALSE;
|
||||
|
||||
size->max_function_defs = maxp->maxFunctionDefs;
|
||||
size->max_instruction_defs = maxp->maxInstructionDefs;
|
||||
|
||||
@ -587,6 +585,7 @@
|
||||
#endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
|
||||
|
||||
size->ttmetrics.valid = FALSE;
|
||||
size->strike_index = 0xFFFFU;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user