Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
5.14.0 Beta 1, 5.14.0 Beta3, 5.14.0 RC1, 5.14
-
None
-
mingw or vs2017
Description
When using an embedded OTF font in QML Text element i get these erros :
DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Roboto", lfWidth=0, lfHeight=-11) dpi=96
DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Noto", lfWidth=0, lfHeight=-11) dpi=96
Only happens since Qt 5.14, works correctly on 5.13.0.
Tried with different otf fonts and different projects, still same issue.
When this warning happens, the Text rendering is strange, with random character spacing etc...
Attachments
Issue Links
- is duplicated by
-
PYSIDE-1172 Warnings about fonts
- Closed
- relates to
-
QTBUG-57180 DirectWrite: CreateFontFaceFromHDC() failed
- Closed
-
QTBUG-129118 "DirectWrite: CreateFontFaceFromHDC() failed" Qt warnigns
- Closed
For Gerrit Dashboard: QTBUG-79140 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
333472,3 | Support family names that end/start with space | dev | qt/qtbase | Status: MERGED | +2 | 0 |
338450,2 | Support family names that end/start with space | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
338451,2 | Support family names that end/start with space | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
338452,2 | Support family names that end/start with space | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
375116,2 | Revert "Support family names that end/start with space" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
375580,2 | Revert "Support family names that end/start with space" | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
375581,2 | Revert "Support family names that end/start with space" | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
375583,2 | Revert "Support family names that end/start with space" | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |