[Dev-luatex] encoding code issue

Yue Wang yuleopen at gmail.com
Sat Jun 20 11:04:16 CEST 2009


no, I find out that my version of tolower is buggy...
lower case can not be lower case again.
for macbinary.c it's ok, but not for strmatch.

On Sat, Jun 20, 2009 at 4:56 PM, Yue Wang<yuleopen at gmail.com> wrote:
> that's because Taco's version of string match is buggy.
>
> On Sat, Jun 20, 2009 at 4:38 PM, Khaled Hosny<khaledhosny at eglug.org> wrote:
>> On Sat, Jun 20, 2009 at 09:15:10AM +0200, Taco Hoekwater wrote:
>>> Yue Wang wrote:
>>>>>>
>>>>> OK. I understand. but can you put tolower into #ifdef too?
>>>>> tolower is only needed for macbinary.c for a filename related call.
>>>
>>> It is also used by the strmatch() function collection in Unicode/char.c,
>>> which themselves are used in various places all over the source.
>>>
>>> I have applied the patch for now (after checking all actual usages
>>> of those functions to make sure they do not need unicode) but I hope
>>> you see why this gets problematic? I will have to revert it back at the
>>> first instance of actual unicode strings that need to compared.
>>
>> SVN revision 2541 doesn't even work for me, I get a FontForge error
>> whenever I run luatex, even with no files at all:
>>
>> FontForge does not support your encoding (UTF-8), it will pretend the
>> local encoding is latin1
>> Internal Error: I can't figure out your version of iconv(). I need a
>> name for the UCS-4 encoding and I can't find one. Reconfigure
>> --without-iconv. Bye.
>>
>>
>> Regards,
>>  Khaled
>>
>>
>> --
>>  Khaled Hosny
>>  Arabic localiser and member of Arabeyes.org team
>>  Free font developer
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAko8oB4ACgkQRoqITGOuyPJ63wCeKogYEqRwy04Vl0dOCSpmXWBB
>> Re8AoInlrCUQjBMEDVvZaBhoatasoCZe
>> =+3x1
>> -----END PGP SIGNATURE-----
>>
>>
>


More information about the dev-luatex mailing list