I use CFont in my application. my language is Arabic. i use unicode for displaying alphabet
and accents. it display alphabet but don't display accents.
how do display accents?
i.e .... it should display like this: ????? but it display ????
How did you solve it? A quick hint about the solution has the potential to help a lot of other programmers with the same problem that will arrive at this thread e.g. after a Google search. Imagine how they feel if they learn that there is a solution but do not find it here
hi all
I also would like to say , If any one start a help thread and he get the solution than the thread should be ended with the solution ,
As René Brunner says
A quick hint about the solution has the potential to help a lot of other programmers with the same problem
In future i will take care of it , Hope my friends will also follow the same things ,
Thanks and Regard
Praveen Kumar Sharma
Hi gys.
I'm sorry that i don't describe how solved my problem. I use a font e.g arial,that has accent. by character Map in Accessories\System tools,
found unicodes of accents and in program use them. I want to show Arabic and i have to accent,but is one thing is important that if you want
to show one accent above/under a character you have to Append it's unicode before unicode of character . e.g if unicode of one accent is
-1614- and unicode of one character is -1601- by Draw text :
TBuf<20> text;
text.Append(1614);
text.Append(1601);
gc.DrawText(text,TRect(TPoint(x,y),TSize(x1,y1))),baseLine,CGraphicsContext::ERight,10);
Because i use arabic , i want to show text from right to left.
I hope to can describe my solution
Forum posts: 52
my problem is solved.
thanks.
Forum posts: 165
checkout this
http://www.newlc.com/article.php3?id_article=443
Thanks & Regards,
Md.Khalid Ahmad
Forum posts: 52
Thanks Khalid,It's useFul.
Forum posts: 1242
How did you solve it? A quick hint about the solution has the potential to help a lot of other programmers with the same problem that will arrive at this thread e.g. after a Google search. Imagine how they feel if they learn that there is a solution but do not find it here
René Brunner
Forum posts: 88
hi all
I also would like to say , If any one start a help thread and he get the solution than the thread should be ended with the solution ,
As René Brunner says
In future i will take care of it , Hope my friends will also follow the same things ,
Thanks and Regard
Praveen Kumar Sharma
Forum posts: 52
Hi gys.
I'm sorry that i don't describe how solved my problem. I use a font e.g arial,that has accent. by character Map in Accessories\System tools,
found unicodes of accents and in program use them. I want to show Arabic and i have to accent,but is one thing is important that if you want
to show one accent above/under a character you have to Append it's unicode before unicode of character . e.g if unicode of one accent is
-1614- and unicode of one character is -1601- by Draw text :
TBuf<20> text;
text.Append(1614);
text.Append(1601);
gc.DrawText(text,TRect(TPoint(x,y),TSize(x1,y1))),baseLine,CGraphicsContext::ERight,10);
Because i use arabic , i want to show text from right to left.
I hope to can describe my solution
Forum posts: 1242
Interesting information. Thanks
René Brunner
Forum posts: 165
Thanks farjamfard,
Really, Interesting Info.
Thanks & Regards,
Md.Khalid Ahmad
Forum posts: 88
Thanks farjamfard
feel good to see your info..
Thanks and Regard
Praveen Kumar Sharma