title: Text appears reversed when writing a visual with FlowDirection.RightToLeft to an XPS document
body: <p>I'm writing a WPF <code>FrameworkElement</code> to an XPS document using a custom <code>DocumentPaginator</code>, that breaks the element into <code>DocumentPage</code> instances. The code already works perfectly for English and other languages.</p>
  
  <p>To support right-to-left languages, I'm setting the <code>FlowDirection</code> property of the element to <code>RightToLeft</code>. The on-screen result seems fine; controls are aligned to the right and text appears in order. However, when I'm writing the element to the XPS document, the text appears reversed (including English). Controls are still aligned correctly.</p>
  
  <p>What is the correct way to write a <code>FrameworkElement</code> with <code>FlowDirection.RightToLeft</code> to an XPS document, so that RTL text appears correctly?</p>
  
  <p>I'm using .NET 4 and VS 2010.</p>