Re: [ft-devel] endian issue in ftmac.c

2006-06-23 Thread Werner LEMBERG
I suppose, the reason why freetype-config and freetype2.pc don't include CFLAGS and LDFLAGS is to drop unexpected options like optimization, uninstalled libary linking etc. So, now I'm thinking of import ftmac.c-specific CFLAGS LDFLAGS to freetype-config freetype2.pc. How do you think

Re: [ft-devel] endian issue in ftmac.c

2006-06-21 Thread mpsuzuki
Hi, Werner LEMBERG [EMAIL PROTECTED] wrote: Attached is revised version that uses Endian.h macros suggested by Mr. Sean McBride. If you don't mind I would like to put the responsibility for the Mac OS part into your hands. Neither David (AFAIK) nor me are using a Mac, so please go on! Thank

[ft-devel] endian issue in ftmac.c

2006-06-20 Thread mpsuzuki
Hi, 2 weeks ago, I received a report from Mr. David Sachitano: ftmac.c is dependent with system endian and does not work on Intel Mac. Afterwards, he sent me a patch written by Mr. Apple Lawrence Coopet (from Apple). His patch uses CoreFoundation functions to fix endian issue, e.g.

Re: [ft-devel] endian issue in ftmac.c

2006-06-20 Thread mpsuzuki
Hi, On Tue, 20 Jun 2006 10:36:58 -0400 Sean McBride [EMAIL PROTECTED] wrote: On 2006-06-20 17:54, [EMAIL PROTECTED] said: CFSwapInt16BigToHost(). Of course, they are unavailable in MPW environment, so I replaced them by macro functions. Attached patch is my modified version. You must be the

Re: [ft-devel] endian issue in ftmac.c

2006-06-20 Thread mpsuzuki
Hi, On Tue, 20 Jun 2006 10:36:58 -0400 Sean McBride [EMAIL PROTECTED] wrote: True, CFSwapInt16BigToHost is Mac OS X only. But I think you can use the functions in Endian.h on both Mac OS 9 and X. For example: EndianU16_BtoN(). Attached is revised version that uses Endian.h macros suggested by

Re: [ft-devel] endian issue in ftmac.c

2006-06-20 Thread Werner LEMBERG
Attached is revised version that uses Endian.h macros suggested by Mr. Sean McBride. If you don't mind I would like to put the responsibility for the Mac OS part into your hands. Neither David (AFAIK) nor me are using a Mac, so please go on! Werner