writetext prints white text on black background