Changes between Initial Version and Version 1 of Ticket #46, comment 5
- Timestamp:
- Feb 26, 2019, 5:17:07 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46, comment 5
initial v1 1 Well, after poking away at it for a while, I think I've come up with a maybe-fix for the DBCS text wrapping. It seems to work in my testing, anyway (with both Korean and Japanese).1 Well, after poking away at it for a while, I think I've come up with a maybe-fix for the DBCS text wrapping. It seems to work in my testing, anyway (with Simplified Chinese, Korean and Japanese). Some of the logic hopefully also works for Thai, but that hasn't been tested yet. 2 2 3 Changes have been committed; SVN r419. 3 Note that I have not (yet?) tried to write the kind of language-specific intelligent word break rules that I described earlier. At the moment it simply allows wrapping after every double-byte (or single-byte Thai or Japanese) character. This looks a little odd, but it's the same thing the standard PM edit control does, so users will presumably be accustomed to it. 4 5 Changes have been committed; SVN r418 (rich text control) and r419 (NewView DBCS font default). 4 6 5 7 Note that cursor movement and horizontal marking are still badly broken with DBCS text (as they always have been). I tried to address those as well, but without success so far. 6 8 7 DBCS character width calculation seems a bit off; it seems to wrap slightly sooner than it needs to, but not to an extent that I'd consider it a major problem. (At least it ''does'' wrap now...)9 DBCS character width calculation seems a bit off; with some fonts it seems to wrap slightly sooner than it needs to, but not to an extent that I'd consider it a major problem. (At least it ''does'' wrap now...)