freetype-devel
[Top][All Lists]
Advanced

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

ftsmooth.c and weird memory allocations.


From: Tom Kacvinsky
Subject: ftsmooth.c and weird memory allocations.
Date: Thu, 29 Jun 2000 09:28:14 -0400 (EDT)

Hi all,

I am getting strange allocation messages when running ftview (cvsup'd
this morning).  Only happens with the CFF driver.  After adding some
debugging code, I got this message:

    In ftsmooth, about to alloc 7140211635554618418 bytes

Thats a large amount of memory to allocate (understatement).  Of
course, I get messages like:

    FT_Alloc: Out of memory? (7140211635554618418 requested)

The offending line in ftsmooth.c is:

    if (ALLOC( bitmap->buffer, (FT_ULong)pitch * height ))

But since there is no other version of ftsmooth.c in CVS, I can't see
if this changed or not.  And the code for the CFF driver didn't change
significantly, so I can't see how the ALLOC in ftsmooth.c is getting
such large numbers.

Tom





reply via email to

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