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

Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » CJK (chinesse / japanesse / korean) improvements
Re: CJK (chinesse / japanesse / korean) improvements [message #5025 is a reply to message #4982] Thu, 31 August 2006 02:27 Go to previous messageGo to previous message
Anonymous
luzr wrote on Tue, 29 August 2006 06:10

Fruitfull discussion with hongdong led to these improvements:

* U++ is now able to read multibyte (CJK) encoded filesystem (e.g. FileSelector now should correctly display chinesse filenames).

* LineEdit (and therefore TheIDE) now displays CJK ideographs in double width

* FontInfo is now optimized not to waste space storing ideograph widths, as ideographs seem to be monospaced (however, it is tested so this optimization is performed only if they really are monospaced).

* New IsCJKIdeograph function returns true if unicode character is cjk ideograph

I am not 100% sure if my range is correct, I have defined it as

inline bool IsCJKIdeograph(int c) { return c >= 0x2e80 && c <= 0xdfaf || c >= 0xf900 && c <= 0xfaff; }

Anyway, for current practical purposes (LineEdit) it should be OK.

Mirek


it is already in 608-dev2,so happy!!
Quote:


P.S.: What about chinesse translation?


no neccessary but would be nice.
  • Attachment: UCJK.pdf
    (Size: 18.01KB, Downloaded 1537 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Next round of painting routine tuning...
Next Topic: TheIDE now has switching of GUI styles (in Environtment../IDE).
Goto Forum:
  


Current Time: Sun Apr 26 11:01:09 GMT+2 2026

Total time taken to generate the page: 0.00706 seconds