STR #2162

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

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_
Created By:timothy.lee
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
#1 timothy.lee
18:35 Feb 23, 2009
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#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:
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2023 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.