mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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
This commit is contained in:
parent
ae2adc9559
commit
44ed83dd86
@ -116,6 +116,11 @@ bool isPrintable(char_type c)
|
|||||||
// assume that all non-utf16 characters are printable
|
// assume that all non-utf16 characters are printable
|
||||||
return true;
|
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();
|
return ucs4_to_qchar(c).isPrint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user