[luatex] LuaTeX crashes with Unicode.sfd

Akira Kakuto kakuto at fuk.kindai.ac.jp
Wed Jun 4 15:34:32 CEST 2014


> (1)
> #define sfd_open()      open_input(&sfd_file, kpse_sfd_format, FOPEN_RBIN_MODE)
> --->
> #define sfd_open(a)     (sfd_file = fopen((char *)(a), FOPEN_RBIN_MODE))

Correction:
The change should be
#define sfd_open(a)     (sfd_file = fopen((char *)kpse_find_file((char *)(a),kpse_sfd_format, 0), FOPEN_RBIN_MODE))

Best,
Akira




More information about the luatex mailing list