Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Warnings from Qt

Date Prev · Date Next · Thread Prev · Thread Next
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 30 Oct 2019 10:30:57 -0700
On 10/29/19 9:00 AM, Anders Broman via Wireshark-dev wrote:
> Hi,
> 
> Recently I’m getting:
> 
> 16:14:09.906     Main Warn DirectWrite: CreateFontFaceFromHDC() failed
> (Indicates an error in an input file such as a font file.) for
> QFontDef(Family="Fixedsys", pointsize=9.75, pixelsize=15, styleHint=5,
> weight=50, stretch=100, hintingPreference=0) LOGFONT("Fixedsys", lfWidth=0,
> lfHeight=-15) dpi=96

I can duplicate the issue here by changing the main window font preference to Fixedsys. It looks like it might be due to https://bugreports.qt.io/browse/QTBUG-57180. A fix was backported to the 5.12 branch recently, so it should hopefully be in 5.12.6: https://codereview.qt-project.org/c/qt/qtbase/+/277322.