Author: spitz
Date: Fri Mar  2 10:06:09 2012
New Revision: 40829
URL: http://www.lyx.org/trac/changeset/40829

Log:
Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from 
being pasted (bug #8057).

Candidate for branch.

Modified:
   lyx-devel/trunk/src/support/lstrings.cpp

Modified: lyx-devel/trunk/src/support/lstrings.cpp
==============================================================================
--- lyx-devel/trunk/src/support/lstrings.cpp    Fri Mar  2 03:35:30 2012        
(r40828)
+++ lyx-devel/trunk/src/support/lstrings.cpp    Fri Mar  2 10:06:09 2012        
(r40829)
@@ -116,6 +116,11 @@
                // assume that all non-utf16 characters are printable
                return true;
        }
+       // Not yet recognized by QChar::isPrint()
+       // See https://bugreports.qt-project.org/browse/QTBUG-12144
+       // LATIN CAPITAL LETTER SHARP S
+       else if (c == 0x1e9e)
+               return true;
        return ucs4_to_qchar(c).isPrint();
 }
 

Reply via email to