Warning when starting LyX master on Windows

Thibaut Cuvelier tcuvelier at lyx.org
Wed Mar 24 21:26:25 UTC 2021


Dear list,

For the last few weeks, tracking the master branch (sorry, I can't be more
precise…), I have been having the following warning messages when starting
LyX:

DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input
file such as a font file.) for QFontDef(Family="Times New Roman",
pointsize=8.25, pixelsize=11, styleHint=1, weight=50, stretch=100,
hintingPreference=0) LOGFONT("serif", lfWidth=0, lfHeight=-11) dpi=96
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input
file such as a font file.) for QFontDef(Family="Arial", pointsize=8.25,
pixelsize=11, styleHint=0, weight=50, stretch=100, hintingPreference=0)
LOGFONT("sans", lfWidth=0, lfHeight=-11) dpi=96

It might be an existing bug in Qt, but it looks like it has been solved
quite a while ago: https://bugreports.qt.io/browse/QTBUG-57180. However,
other software have the same issue:
https://www.wireshark.org/lists/wireshark-dev/201907/msg00006.html, for
instance.

I am using the stock version of Qt 5.15.0 prebuilt for MSVC 2019.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/b9059bbd/attachment.html>


More information about the lyx-devel mailing list