Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The task is very simple, create an edit box and write bengali in it. I can write bengali, but the text appears very small. If i write bengali and english in the same string, english text is normal but the begali font is small. I tried to replace edit box with richedit control. Works excellent. But reading the text i also need to print it. DrawText function is being used. But the bengali text get small again. On the otherhand japanese text is behaving normal. If anyone of you can guide me ......
Posted
Comments
Richard MacCutchan 27-Aug-14 8:47am    
I think that Bengali uses more leading space on each character, and you just need a larger font.
Mohibur Rashid 27-Aug-14 17:57pm    
I was hoping that too, so, I chose a different font, relatively bigger, then increase the size of the font. But the problem is if I choose a bengali font, entire text in the box get changed. Which is a trouble. Cause I am expecting the user would write bengali, english and arabic in the text. As I said in my question that Rich Text Edit box is handling this issue fine, without changing any font or text size. So, I am wondering that I am missing some pointer or information.
Mohibur Rashid 28-Aug-14 2:04am    
Thank you for replying, after searching and studying and analyzing all day, I just realized bengali font is designed by bunch ..... বাংলা এবং বাঙালি. First of all, they designed the font relatively small. They also have add some other abnormality in the text. The top margin of Bengali font must have to as the same height of english small letter without any Ascend-er and Descender, and the to part with .... blah blah blah. In summery only chrome has done something to render bengali font in fine way, rest sucks including firefox, Notepad ++. They look nice only if the font size is increased. Anyway, thank you. I don't know how to close this thread. They should have option "OP is giving up on the question." :D
Richard MacCutchan 28-Aug-14 3:51am    
I added some of the above as "solution" to take this off the unanswered queue.

1 solution

The top margin of Bengali font must have to as the same height of english small letter without any Ascend-er and Descender, and the to part with .... blah blah blah. In summery only chrome has done something to render bengali font in fine way, rest sucks including firefox, Notepad ++. They look nice only if the font size is increased. I don't know how to close this thread. They should have option "OP is giving up on the question.".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900