FLTK logo

[LOW] STR #2747: Fl_Input_::maximum_size(int m) doesn't work as expected with foreign chars

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 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[LOW] STR #2747: Fl_Input_::maximum_size(int m) doesn't work as expected with foreign chars Daniel Polski Oct 25, 2011  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2747
Version: 1.3-current


(Last time I posted this STR (#2732) the selection box for the software
version didn't work for some reason, sorry for repost)

When setting a maximum size for an input, fltk counts the internal storage
instead of how many chars are visible to the user. This creates a problem
when the user types in foreign chars, in my case the swedish
"åäö���" (they're counted as 2 chars each in the Fl_Input).

Tested with fltk 1.3, svn version 9129 using windows 7.


Link: http://www.fltk.org/str.php?L2747
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs-B9D8k9nSxTHQT0dZR+AlfA@public.gmane.org
http://lists.easysw.com/mailman/listinfo/fltk-bugs
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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