XSL-FOでは glyph-orientation-vertical や glyph-orientation-horizontalといった文字を回転させるプロパティがあります。これらを回転させたい文字にfo:inlineの属性に指定することで可能です。
fo:inline