freetype-devel
[Top][All Lists]
Advanced

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

[Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2


From: PORTHOS
Subject: [Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2
Date: Fri, 4 Oct 2002 17:24:52 +0200

Hallo,

in ftgrays.c
============

are still some problems. They cause an error as soon as glyphs become
bigger...

At least: ras.last_ey has to be "long" or "TPos"!

Whenever "SUBPIXELS" is done to a "TCoord"-Value there must be a Cast to
"long" in the argument. Otherwise a short is shifted...to overflow!

For example fx2 = (x2 - SUBPIXELS( (TPos) ex2 );

I suppose, fx1, fx2, fy1, fy2 should be "long" or "TPos"! Casts are no longer
necessary (see above example).


I did all these changes and now it seems to work even with big glyphs!

-- 
Mit freundlichen Grüßen,
Wolfgang Domröse
mailto:address@hidden




reply via email to

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