зеркало из https://github.com/stride3d/freetype.git
cache: Disable the legacy compatibility if 16-bit system.
This commit is contained in:
Родитель
2a5831ec07
Коммит
f4e1c8bdda
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
cache: Disable the legacy compatibility if 16-bit system.
|
||||
|
||||
* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Exclude
|
||||
the legacy behaviour from 16-bit platform, because the
|
||||
current hack cannot detect the caller uses this function
|
||||
via legacy convension.
|
||||
(FTC_SBitCache_Lookup): Ditto.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
cache: Check 32-bit glyph index on 16-bit systems.
|
||||
|
|
|
@ -328,7 +328,7 @@
|
|||
if ( anode )
|
||||
*anode = NULL;
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_OLD_INTERNALS
|
||||
#if defined( FT_CONFIG_OPTION_OLD_INTERNALS ) && ( FT_INT_MAX > 0xFFFFU )
|
||||
|
||||
/*
|
||||
* This one is a major hack used to detect whether we are passed a
|
||||
|
@ -651,7 +651,7 @@
|
|||
|
||||
*ansbit = NULL;
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_OLD_INTERNALS
|
||||
#if defined( FT_CONFIG_OPTION_OLD_INTERNALS ) && ( FT_INT_MAX > 0xFFFFU )
|
||||
|
||||
/* This one is a major hack used to detect whether we are passed a
|
||||
* regular FTC_ImageType handle, or a legacy FTC_OldImageDesc one.
|
||||
|
|
Загрузка…
Ссылка в новой задаче