* Fix Savannah bug #24468, unexpected conversion between FT_UInt32* and FT_UInt*
This commit is contained in:
parent
fa9d39940e
commit
1464bc5ad3
16
ChangeLog
16
ChangeLog
|
@ -1,4 +1,18 @@
|
|||
2008-09-22 John Tytgat <John.Tytgat@esko.com>
|
||||
2008-10-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
Fix Savannah bug #24468.
|
||||
|
||||
According to include/freetype/internal/ftobjs.h, the appropriate
|
||||
type to interchange single character codepoint is FT_UInt32. It
|
||||
should be distinguished from FT_UInt which can be 16bit integer.
|
||||
|
||||
* src/sfnt/ttcmap.c (tt_cmap4_char_map_linear): Change the type
|
||||
of the second argument `pcharcode' from FT_UInt* to FT_UInt32*.
|
||||
(tt_cmap4_char_map_binary): Ditto.
|
||||
(tt_cmap14_get_nondef_chars): Change the type of return value
|
||||
from FT_UInt* to FT_UInt32*.
|
||||
|
||||
2008-10-08 John Tytgat <John.Tytgat@esko.com>
|
||||
|
||||
Fix Savannah bug #24485.
|
||||
|
||||
|
|
|
@ -974,7 +974,7 @@
|
|||
|
||||
static FT_UInt
|
||||
tt_cmap4_char_map_linear( TT_CMap cmap,
|
||||
FT_UInt* pcharcode,
|
||||
FT_UInt32* pcharcode,
|
||||
FT_Bool next )
|
||||
{
|
||||
FT_UInt num_segs2, start, end, offset;
|
||||
|
@ -1053,7 +1053,7 @@
|
|||
|
||||
static FT_UInt
|
||||
tt_cmap4_char_map_binary( TT_CMap cmap,
|
||||
FT_UInt* pcharcode,
|
||||
FT_UInt32* pcharcode,
|
||||
FT_Bool next )
|
||||
{
|
||||
FT_UInt num_segs2, start, end, offset;
|
||||
|
@ -2794,7 +2794,7 @@
|
|||
}
|
||||
|
||||
|
||||
static FT_UInt*
|
||||
static FT_UInt32*
|
||||
tt_cmap14_get_nondef_chars( TT_CMap cmap,
|
||||
FT_Byte *p,
|
||||
FT_Memory memory )
|
||||
|
|
Loading…
Reference in New Issue