Page 1 of 1

Unicode Font BackGround Color Problem

Posted: Tue Mar 29, 2011 6:40 am
by viperpix
Hi,
here's the thing, when i select some unicode character inside a continues Word and color the backgnd of the selection text by somthin like this:

rve.ApplyStyleConversion(TEXT_BACKCOLOR); // TEXT_BACKCOLOR=8
.
.

------------- in OnStyleConversion Event:

case UserData of
TEXT_BACKCOLOR:
FontInfo.BackColor := selbkcol;
the selected characters turn to a separate word and the begin and the end chars of the selection are no longer sticked to the others!
Here is a sample:
if i have a none-sense word like:
شسیبلاتنمک
and if i select 6 chars with start by 2 from right (سیبلات), the selection will be colored but the word will goes like this:
ش سیبلات نمک (but without any spaces)!
what can i do?!

Posted: Tue Mar 29, 2011 7:02 am
by Sergey Tkachenko
Sorry, sticking characters of word written with different font (even with different color) is not supported yet.