U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » Incorrect position of chars in DocEdit ctrl.
Re: Incorrect position of chars in DocEdit ctrl. [message #23887 is a reply to message #23886] Tue, 01 December 2009 09:46 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Well, the problem is caused by 0x2b9 character - that is not supposed to be displayed alone.

It is "Spacing modifier letter":

http://en.wikipedia.org/wiki/Unicode_Phonetic_Symbols

It looks like Win32 has problems combining these letters, at least when character spacing is used in DrawText (which is what DocEdit does).

I am not quite sure what to do with the problem...

Should this be handled by DrawText? It looks like if I omit spacing info (dx parameter), Win32 draws these characters quite OK....

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: How to trim leading and trailing spaces in EditString?
Next Topic: String to double
Goto Forum:
  


Current Time: Wed Apr 29 11:03:42 GMT+2 2026

Total time taken to generate the page: 0.01316 seconds