On 15.02.2010, at 09:58, manolo gouy wrote: > About text entry in FLTK on Mac OS X: > I believe to have reproduced in FLTK-1.3-cocoa all, but not more than, > what was in the carbon version, that is: > - special characters obtained pressing the alt key (e.g., the euro sign) > work well > - national keyboard layouts are correctly handled (this was tested > with French, German, Italian, Greek layouts) > - FLTK's compose mechanism is used but only to handle dead keys, > that is, keys that don't print anything until another key is also > pressed (there is no compose key on mac keyboards, so FLTK's compose > key is simulated and sent to FLTK). I have checked that all dead keys > of several keyboards (English, French, German, Italian, Greek) work > correctly. > - character palette input where a, say chinese, character is chosen > in the palette and sent to the front window, work well.
I removed about 90% of the X11 specific FLTK keyboard handling in Carbon a while ago. Assuming that the Cocoa version builds on it, we should still be letting OS X handle a lot of the keyboard input. I type a lot of German on my US keyboard and getting Umlauts works as it does on all OS X native apps (Alt-u, vowel). I have not tested Asian scripts simply because I do not understand them. Matthias _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev