Board index » delphi » DrawText() - DT_NOFULLWIDTHCHARBREAK
Troy Wolbrink
Delphi Developer |
DrawText() - DT_NOFULLWIDTHCHARBREAK2003-12-03 12:33:20 AM delphi230 I've had an issue with TTntLabel where the word breaking for Asian characters seemed to be way off. I added the DT_NOFULLWIDTHCHARBREAK a few months ago, and this seemed to solve the problem. Just today I received feedback that removing this flag made Chinese characters wrap correctly. The Platform SDK says this: "Prevents a line break at a double-byte character set (DBCS), so that the line-breaking rule is equivalent to single-byte character set (SBCS). This can be used, for example, to make icon labels written in Korean text more readable." Can anybody please provide insight into this. Is this flag never desirable, always desireable or only sometimes desireable? Should this be an option? TLabel never uses the NOFULLWIDTHCHARBREAK flag. Does TLabel incorreclty wrap some Asian languages? --Troy |