I have further improved the UT_contextGlyph class and added two new bidi-specific XAP preferences "UseContextGlyphs" and "SaveContextGlyphs". The first one allows the user to turn the auto- glyph selection off, i.e, "you get what you type". The other indicates that if "UseContextGlyphs" is on, the glyph replacement should be done not only on screen but also in the piece table, i.e., "you save what you see".
I have implemented the changes to the xp and gtk options dialogues and had a shot at the windows version as well, but as I do not have a compiler, it either will not work, or not look right -- I would appreciate if someone could ckeck it and fix any problems. Tomas files: xap_Prefs_SchemeId.h fp_TextRun.cpp/h ut_contextGlyph.cpp/h ap_Dlg_Options.cpp/h ap_UnixDialog_Options.cpp/h ap_StringId.h ap_Win32Dialog_Options.cpp/h ap_Win32Res_Options.rc2
