freetype-devel
[Top][All Lists]
Advanced

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

Re: FIXED: ftsmooth.c and weird memory allocations.


From: Werner LEMBERG
Subject: Re: FIXED: ftsmooth.c and weird memory allocations.
Date: Thu, 29 Jun 2000 23:53:51 +0200 (CEST)

> Found the problem: FT_Pos was a signed long (8 bytes!).  Changing
> that to signed int and recompiling fixed the problem (and introduced
> some mild warnings for code in the t1 driver).  Why?  FT_BBox uses
> FT_Pos, and if the BBOx coordinates are off, so is pitch and height
> in the smooth rendered module.  I would use macro conditionals to
> get the right typedefs in ftimage.h, but I would need to include
> ftconfig.h, which appears not to happen in any of
> include/freetype/*.h

I leave this problem to our chief designer :-)

> Next: attached are two patches forthe CFF driver.  One is because
> DEC's compiler complained about result = (result <<= 8) | *p++, the
> other is because of an unaligned access error.

Applied.

> Finally: for cidgload.c, there are warnings about
> *top++=top[0]/top[1].  This was reported to the list by others, and
> they supplied a fix in their post; therefore, I don't offer a patch.

Fixed also, thanks.


    Werner



reply via email to

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