]> git.lyx.org Git - features.git/commitdiff
Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being...
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 2 Mar 2012 14:59:53 +0000 (14:59 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 2 Mar 2012 14:59:53 +0000 (14:59 +0000)
Backport of r40829.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40831 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lstrings.cpp
status.20x

index 98249e4e1d0ffef07e1778a0e52d21d30297dd6e..7fe06a8d44764ff69f6335650d55b48c53b31142 100644 (file)
@@ -116,6 +116,11 @@ bool isPrintable(char_type c)
                // 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();
 }
 
index 9518c0d12c043b519036eda8f3cadd8ac82e19ba..43492b78de6801fc3f5a7de7aa6ed2a0d123ba43 100644 (file)
@@ -53,7 +53,7 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
--
+- Fix pasting of LATIN CAPITAL LETTER SHARP S (bug 8057).
 
 
 * TEX2LYX