right to left and jointed subtiltes in mplayer(smplayer)

this is for middle-eastern users (farsi,urdu,arabic,hendi?)

the problem occurs when viewing text subtitle in mplayer (encoding doesn’t matter) that are in right to left and jointed.
if it has the the correct encoding it shows the letters but disjointed like this http://ubuntuforums.org/attachment.php?attachmentid=59156&d=1202579680 but it should be jointed like this “سلام بر شما” not “سلام بر شما” like this picture http://ubuntuforums.org/attachment.php?attachmentid=57335&d=1201124863
so what the problem? its because right to left displayed in mplayer is handled by this library “fribidi” (written by a student from sharif university in iran as a google summer code project ,i think) and opensuse ( and even ubuntu) uses the stable version 0.10 that doesn’t handle them right. so the answer?

installing fribidi 0.19 version from source from its site GNU FriBidi
this will upgrade the fribidi to 0.19 version and solves the problems