updater icon indicating copy to clipboard operation
updater copied to clipboard

non-blocking warning messages about fonts

Open illwieckz opened this issue 8 years ago • 4 comments

On Linux:

$ ./updater2
QFontDatabase: Cannot find font directory /opt/Qt5.8-static-release/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.

illwieckz avatar Jun 08 '17 19:06 illwieckz

It's ugly, but meh. I've tried to fix this, but this requires changing stuff in QT. My attempts to fix this have broken other things...

DolceTriade avatar Sep 10 '17 22:09 DolceTriade

I also see this warning on Linux. But it seems to be spurious: we have Roboto-Regular.ttf in the resources directory and the typeface is displaying correctly.

slipher avatar Jan 02 '21 13:01 slipher

On Mac there is the log message qt.qpa.fonts: Populating font family aliases took 650 ms. Replace uses of missing font family "Robot-Regular" with one that exists to avoid this cost. The text still looks correct, but maybe the one we ship is really not being used somehow.

slipher avatar Jan 05 '21 21:01 slipher

I found that the font family name that we request needs to be Roboto rather than Roboto-Regular to fix the Mac warning. It turns out the Linux warning is unrelated and is still printed.

slipher avatar Jan 06 '21 23:01 slipher