Details
Description
PySide2 QtGui.QTextCharFormat.setFontFamily() causes the application to crash and close
PySide2 QtGui.QTextCharFormat.setFont() causes the application to crash and close
Disable it and everything is OK.
Mixed use of Chinese and English characters is not supported (English font)。But the Chinese font can support Chinese characters and English characters.
if only load English characters first, everything is OK.
if used "Consolas" English font and load Chinese-English mixed characters, will crash. Sometime, paste Chinese characters will crash also.
QtWebEngineWidgets.QWebEngineView() support for Chinese characters is not very good, and sometimes can not properly input Chinese characters. Just do not crash exit.