Swap the width and height when rendering vertical text.
Move box_reverse and order_reverse into the styles.

This makes it at least moderately plausible that a translation can
change them.