don't crash if the PDF incorrectly uses vertical mode
(found example of pdf that used vertical mode with
a font that didn't support vertical mode)