Corrected text path for rotated text

Change-Id: I69ba939818222fb3591df78fe93a02735fee67bb
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/132
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>