Hi, It has been suggested that this might also be related to a bug in the text layouting of TeXworks, an editor based on Qt. Could you send me that patch of yours, or point me to a place I can get it from, so I can see if this indeed is the cause of the issue in TeXworks, please? Regards, Stefan Löffler