Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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
unknown user
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 1491 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: Thu Aug 28 14:44:11 CEST 2025

Total time taken to generate the page: 0.06615 seconds