freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Problem with rotation in 2.0.3


From: Mike Owens
Subject: [Devel] Problem with rotation in 2.0.3
Date: Thu, 31 May 2001 08:42:01 -0400

Hi guys,

I loaded 2.0.3 and have a problem with character rotation. I no longer have 
90,180, and 270 rotation for characters. 90 rotates to 180, 180 to 0, 270 to 
180. Can you help?

FYI, I had 3 compiler warnings that I corrected. I'm using VC++ 6.0. Below is 
the line numbers and the changes I made. Please let me know if this is 
incorrect. The rotation problem occurs with or without these changes.
Thanks

Warnings are in ftcalc.c and are all truncation warnings.

line 150
    d = (FT_Long)(( c > 0 ? ( (FT_Int64)a * b + ( c >> 1 ) ) / c
                : 0x7FFFFFFFL ));

line 192
      q = (FT_UInt32)(( ((FT_Int64)a << 16) + (b >> 1)) / b);

line 238
    return (FT_Int32)r;





reply via email to

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