DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

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


I've produced a test program that seems to have the behaviour that
you describe, where the string is wrapped at the byte number rather
than the character number. [There is a bug in the test code where I
could not enter the correct three byte UTF-8 value, but the code does
show the basic principle.]

I noticed that in the code for calculating the display width of
UTF-8 strings there is an optimisation when using fixed width fonts,
hence the Helvetica and Courier buttons on the test program, but the
font change does not make any difference to the wrap position.

This program was written on Linux, using fltk-1.3.x-r6741.


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

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to