I have implemented the handling of the "smart" quotes in the shaping 
engine and commented out the old mechanism -- play with it for a 
while, and then let's decide if it is good enough or not.

To manually override  the automatic shape:

a right quote in a middle of a word can be turned into a left one by 
inserting alt+spacebar in front of it

a right quote in a middle of a word can be turned into a straight 
quote by inserting alt+spacebar in front and back of it

a right quote at the end of a word can be turned into a straight one 
by inserting alt+spacebar in front of it.

a left quote at the start of a word can be turned into a straight one 
by inserting alt+spacebar after it.

files: ut_contextGlyph.h/cpp, fp_TextRun.cpp, fl_DocLayout.cpp, 
ap_LB_default.cpp, ap_EditMethods.cpp.

Tomas

Reply via email to