Friday, 13 July 2012

GSOC 2012

Setting different Text Angles for Different Frames and Setting the Angle = 0.0 for Text outside the Frame.

The frames have been set at angles : 1, PI/2, 3PI/2 and 2PI

BUG : It performs OK for now, but there is a bug, that when I edit the frame properties like width, the text angle in the frame, gets set to 0.0 and redraws the text with no rotation.

Here is the Debug output :-

DEBUG: metrics asc 214 desc 52
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set  1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set  1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set  4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set  0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set  1.570000
DEBUG: Aaditya : Get Set Angle 1.570000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 3012
DEBUG: Aaditya : Angle Set  1.000000
DEBUG: Aaditya : Get Set Angle 1.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4727
DEBUG: Aaditya : Angle Set  4.900000
DEBUG: Aaditya : Get Set Angle 4.900000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Clip bottom is 4709
DEBUG: Aaditya : Angle Set  0.000000
DEBUG: Aaditya : Get Set Angle 0.000000
DEBUG: Aaditya : How many times Unset ?
DEBUG: Frame Edit mode set to 0

Tuesday, 19 June 2012

Text Rotation in Abiword

I have here rotated the text in Abiword by 180 degrees and 90 degrees :- Below are the screen shots :-


180 degrees rotation


90 degrees rotation