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
CJK (chinesse / japanesse / korean) improvements [message #4982] Tue, 29 August 2006 12:10 Go to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
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

P.S.: What about chinesse translation? Smile

[Updated on: Tue, 29 August 2006 12:13]

Report message to a moderator

 
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: Sat May 18 04:24:24 CEST 2024

Total time taken to generate the page: 0.01602 seconds