don't enter text mode in pdf generation