Screen rotation script with wacom tablet rotation and font rendering adjustment