On 17/02/11 14:54, Hassan Ilyas wrote:
> Hi All,
> 
> I have been attempting to render Multiple Language Unicode text using 
> DrawString function. Everything is working except the Arabic/Persian/Hebrew 
> language
> strings which require Right-to-Left rendering.
> 
> I have already attempted to reverse the order of unicode input which solves 
> the problem of ordering of text, but unless a Right-to-Left rending option is
> available, Arabic text appears in broken apart ligature.
> 
> Has any one been able to fix this issue ?

We'd need to add DSBLIT_FLIP_HORIZONTAL while blitting the glyphs, I guess.

Adding DSTF_LEFTTORIGHT or similar could make that controllable via public API.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to