AffineTransform::scale not working

I'm juce 2.1.7

The following used to work in previous versions. Sorry I had not check it for a long time.

     g.addTransform( AffineTransform::scale( 1, -1, 40, 40 ) );
     g.drawSingleLineText( "B", 40, 40 );

This does not work. The character is not drawn. Flipping it horizontal works, but not vertical.

Thanks - fixed now.