Steve asked:
> Can someone tell me how to fix the text orientation?
Steve,
To invert the text, try changing this line:
CGContextSetTextMatrix( context, CGAffineTransformIdentity )
to this
CGContextSetTextMatrix( context, fn CGAffineTransformMake( 1.0,0.0, 0.0, -1.0, 0.0, 0.0 ) );
Without having the running code, I can't test it here.
Ken