| [ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
STR #2162
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Unicode support |
Summary: | [PATCH] Wrap CJK characters in Fl_Input_ |
Version: | 1.4-feature |
Created By: | timothy.lee |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | timothy.lee 18:35 Feb 23, 2009 |
| Fl_Input_ class currently wraps a line only at spacing characters. In practice, line wrapping after a CJK character should also be allowed.
fltk-1.3-cjk_wrap.patch implements correct CJK line wrapping in Fl_Input_ class, and adds mouse wheel support to Fl_Input. | |
|
#2 | engelsman 10:27 Oct 31, 2010 |
| Do you have a URL/reference for the UCS ranges that you have used in the fl_is_linebreak() implementation? Could you add it as a comment and repost this patch against an up-to-date version of fltk-1.3.x ?
[I can see fl_is_linebreak() being applicable to several other CJK related STRs relating to Fl_Text_{Buffer,Display,Editor} as well] | |
|
#3 | matt 12:55 Nov 14, 2010 |
| Not essential for the 1.3.0 release. Temporarily moved to 1.4 . | |
|
#4 | matt 05:15 Jan 20, 2023 |
| As a side effect, implements scrolling Fl_Input with the scroll wheel. | |
|
#5 | timothy.lee 03:32 Jan 25, 2023 |
| The Unicode ranges can be found in: https://www.unicode.org/versions/Unicode15.0.0/ch18.pdf | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |