locked
WPF/E (TextBlock) is not rendering Unicode correctly RRS feed

  • Question

  •  

    I have downloaded the WPF/E CTP & SDK, I played with them and have noticed that WPF/E does not fully support Unicode, as I use a TextBlock to test the display of Arabic text, WPF/E was rendering the text incorrectly as if it is rendering the text from left to right while it should render the text from right to left. This same behavior is true for Hebrew too which is also a right-to-left language.

     

    am I missing somthing ?

    Thursday, December 7, 2006 2:25 PM

Answers

  • This CTP does not support bi directional text.
    Thursday, December 7, 2006 7:53 PM
  • Filping text won't work. Letters will flip as well and that is not acceptable. Reversing string thou should do the trick.

     

    Sunday, February 18, 2007 9:55 PM

All replies

  • This CTP does not support bi directional text.
    Thursday, December 7, 2006 7:53 PM
  • Until FlowDirection is implemented, Can you mirror your text?

       <TextBlock >
          <TextBlock.RenderTransform>
            <TransformGroup>
              <ScaleTransform ScaleX="-1" ScaleY="1"/> 
              <TranslateTransform X="100" Y="0"/>
            </TransformGroup>
          </TextBlock.RenderTransform>
          הפוך לדף הבית
       </TextBlock>

    Monday, December 11, 2006 12:05 PM
  • Filping text won't work. Letters will flip as well and that is not acceptable. Reversing string thou should do the trick.

     

    Sunday, February 18, 2007 9:55 PM