truetype: Extend TrueType GX packed deltas to FT_Offset.
This commit is contained in:
parent
5668181bda
commit
ec7bc863fb
|
@ -1,3 +1,12 @@
|
|||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
truetype: Extend TrueType GX packed deltas to FT_Offset.
|
||||
|
||||
* src/truetype/ttgxvar.c (ft_var_readpackeddeltas):
|
||||
The type of 2nd argument `delta_cnt' is changed from
|
||||
FT_Int to FT_Offset, because its source can be cvt
|
||||
table size calculated from stream position.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
truetype: Extend mmvar_len to hold size_t values.
|
||||
|
|
|
@ -211,12 +211,12 @@
|
|||
/* */
|
||||
static FT_Short*
|
||||
ft_var_readpackeddeltas( FT_Stream stream,
|
||||
FT_Int delta_cnt )
|
||||
FT_Offset delta_cnt )
|
||||
{
|
||||
FT_Short *deltas;
|
||||
FT_Int runcnt;
|
||||
FT_Int i;
|
||||
FT_Int j;
|
||||
FT_Offset i;
|
||||
FT_Offset j;
|
||||
FT_Memory memory = stream->memory;
|
||||
FT_Error error = TT_Err_Ok;
|
||||
|
||||
|
|
Loading…
Reference in New Issue