From 44ed83dd8606a499552d0b8892022772e5a9363b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 2 Mar 2012 09:06:09 +0000 Subject: [PATCH] Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being pasted (bug #8057). Candidate for branch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40829 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/lstrings.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/support/lstrings.cpp b/src/support/lstrings.cpp index 98249e4e1d..7fe06a8d44 100644 --- a/src/support/lstrings.cpp +++ b/src/support/lstrings.cpp @@ -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(); }