1
Vote

"بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ" not displaying properly using this library

description

Hi,
 
Can you plz check and let me know if I am doing something wrong. My code is:
<arab:RTLTextBlock x:Name="TextArabic" FontSize="32" TextWrapping="Wrap" />
 
TextArabic.Text = "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ";

comments

basharal wrote Jun 12, 2011 at 6:05 AM

I'm not sure if 'harakat' are supported. I haven't looked at the code in over 6 months as I've been swamped with work.
Can you try only: بسم الله الرحمن الرحيم?

naweed wrote Jun 12, 2011 at 9:10 AM

I tried it without the harakats and it works fine. Any idea on how I can add support for harakats?

basharal wrote Jun 12, 2011 at 6:37 PM

I just looked at the code and realized that I have partial support for harakat. So, my guess is that some of these are looking properly. Correct? I don't seem to have the 'ط' as a haraka or 'shadda + fatha'. Can you provide the output of what you're getting?
To answer your question, you will need to modify characters.xml to add the missing ones (look at the end, you will see the harakat section). Look at the unicode table to see what they correspond to and add them. It should be pretty simple.

wrote Feb 13, 2013 at 9:30 PM