Albrecht: > My test case is to open them in test/editor. I noticed that they > all display correctly on Linux (Ubuntu), but there are a few > problems on Windows: > > (1) 0x98 / U+02DC draws okay, but doesn't seem to advance the > "cursor" correctly. [...] > (2) calculation of line widths seems to be wrong. [...] > > This might be an Fl_Editor issue though, and I know that you didn't > look at this yet. I only wanted to mention it...
No, I haven't looked at Fl_Text_Editor yet, but I don't have Windows it might make it a bit tricky for me to track down anyway... > I just tested this with my Ubuntu/firefox, too. After setting the > default character set to UTF-8, everything in cp1252_utf-8.txt > displays okay, except 0xAD (U+00AD), which is the "soft hyphen". > I'd say that it's okay for a browser to hide the soft hyphen, isn't it? MK's wcwidth() says: "SOFT HYPHEN (U+00AD) has a column width of 1." so it looks like we haven't solved everything yet :-( Full comments at http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c Cheers D. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
