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

Backport of r40829.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40831 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2012-03-02 14:59:53 +00:00
parent 3655600dce
commit d2b87f4706
2 changed files with 6 additions and 1 deletions

View 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();
}

View File

@ -53,7 +53,7 @@ What's new
* DOCUMENT INPUT/OUTPUT
-
- Fix pasting of LATIN CAPITAL LETTER SHARP S (bug 8057).
* TEX2LYX