forked from minhngoc25a/freetype2
[autofit] Fix Emscripten crash (patch #9180).
Function calls through pointers must use a matching signature to work on Emscripten, since such calls are dispatched through lookup tables grouped by signature. * src/autofit/aftypes.h (AF_WritingSystem_ApplyHintsFunc): Fix typedef.
This commit is contained in:
parent
1d28f697d2
commit
255828c891
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2016-12-01 Oleksandr Chekhovskyi <oleksandr.chekhovskyi@gmail.com>
|
||||
|
||||
[autofit] Fix Emscripten crash (patch #9180).
|
||||
|
||||
Function calls through pointers must use a matching signature to
|
||||
work on Emscripten, since such calls are dispatched through lookup
|
||||
tables grouped by signature.
|
||||
|
||||
* src/autofit/aftypes.h (AF_WritingSystem_ApplyHintsFunc): Fix
|
||||
typedef.
|
||||
|
||||
2016-11-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[smooth] Revert previous commit. Already fixed with 6ca54c64.
|
||||
|
|
|
@ -221,7 +221,7 @@ extern void* _af_debug_hints;
|
|||
(*AF_WritingSystem_InitHintsFunc)( AF_GlyphHints hints,
|
||||
AF_StyleMetrics metrics );
|
||||
|
||||
typedef void
|
||||
typedef FT_Error
|
||||
(*AF_WritingSystem_ApplyHintsFunc)( FT_UInt glyph_index,
|
||||
AF_GlyphHints hints,
|
||||
FT_Outline* outline,
|
||||
|
|
Loading…
Reference in New Issue