freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] ftmac.c corrections


From: Werner LEMBERG
Subject: Re: [Freetype] ftmac.c corrections
Date: Tue, 30 Apr 2002 22:03:44 +0200 (CEST)

I've committed the new ftmac.c file (edited; please check).

> By the way, I found the following changes in other files necessary 
> for either Mac or Windows:
> 
> ftheader.h:
> #if defined(__APPLE__) || (defined(__MWERKS__) && defined(macintosh))
>    #define FT_MACINTOSH 1
> #endif

I put this into ftconfig.h.  In case more such changes are necessary
in the future, I think it would be better to create a Mac-specific
ftconfig.h file.

> freetype.h: (before including ft2build.h) #undef interface
> ftoutline.c: (before first use of "interface"): #undef interface

Should no longer be necessary.

> ftgrays.c: (before first use of TScan) #define TScan FT_TScan

I renamed TScan to TCoord.

> ftobjs.c: Change "macintosh" to "FT_MACINTOSH"

Done.

> ftraster.c: (before first use of "Unknown"):
> #define Unknown FT_UNKNOWN

Renamed Unknown to Unknown_State.

> ftrend1.c:
>       // pitch = ( width + 7 ) >> 3;
>        pitch = ( ( width + 15 ) >> 4) << 1;

Done.

Thanks a lot!


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]