Changes between Initial Version and Version 1 of Ticket #46, comment 5


Ignore:
Timestamp:
Feb 26, 2019, 4:17:07 AM (5 years ago)
Author:
ataylor
Comment:

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).
     1Well, 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.
    22
    3 Changes have been committed; SVN r419.
     3Note 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
     5Changes have been committed; SVN r418 (rich text control) and r419 (NewView DBCS font default).
    46
    57Note 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.
    68
    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...)
     9DBCS 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...)