Description
I made a simple package to show the problem.
https://github.com/jmitrevs/bugreport
It is a simple QtQuick application with python that just opens a window that has a File menu selection, with just the quit option. I also added a simple configuration, qtquickcontrols2.conf, which contains:
[Controls] Style=Imagine [Imagine\Palette] ButtonText=Black
But this causes "File" and "Quit" to be replaced by "...". I am attaching a screenshot. This works fine on a Mac and Linux.
The steps to run are:
- pyside2-rcc.exe -o style_rc.py style.qrc
- python main.py
There is an error message:
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.5, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Open Sans", 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.5, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Open Sans", lfWidth=0, lfHeight=-11) dpi=96