filter text through fribidi to view RTL text correctly