freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Black rendering failing on LLP64 bit model hosts


From: Werner LEMBERG
Subject: Re: [Devel] Black rendering failing on LLP64 bit model hosts
Date: Wed, 02 Jun 2004 22:47:45 +0200 (CEST)

> There is a problem that you may not be aware of on 64-bit Intel (
> LLP64 ) systems with the 2.1.5 ftraster.c code.  The PLONG data type
> was declared to be "typedef long *" but should probably have been
> declared to be a pointer to a type that is guaranteed to be the
> sizeof a pointer on all hosts.  In my case, I was crashing in
> End_Profile 657 with a data misalignment error.  Changing PLONG to
> an internal type that is always the sizeof a pointer and likewise
> modifying ft_black_reset so that the sizeof the raster buffer would
> be computed correctly solved the problem.

Thanks for the report.  Can you send a patch which is portable?  This
makes it easier to correct it in future versions of FreeType.


    Werner



reply via email to

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