When I load LO with the qt5 VCL, I get (among other messages) large number of consecutive console lines saying:
warn:vcl.fonts:17724:17724:vcl/source/font/PhysicalFontFace.cxx:513: Getting font variations is not supported.
1. Why is it not supported?
2. If it's not supported, why are we trying to do that?
3. If we fail repeatedly, why emit the same message again and again? We should just stop these repetitions.
Version: 188.8.131.52.alpha1+ (X86_64) / LibreOffice Community
Build ID: 360b5861fb46353e7a6b9f5abf13339cd719a8df
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-IL (en_IL); UI: en-US
*** Bug 152280 has been marked as a duplicate of this bug. ***
That was added by me. Currently Qt font backend is lacking compared to other backends, and variable fonts is ine such missing feature. I was under the impression, though, that Qt fint backend is not generally used and qt VCL plugin(s) use the same font backend as the gen and gtk plugins, so I wasn't expecting anyone to see this warning.
May be I xan tune down the warning a bit e.g. show it inly if it is actually a variable font, but Qt don't seem to have any API for dealing with variable fonts, so I’ll need to think of something.
FWIW, qt5 VCL plugin appears to be experimental and incomplete and never selected by default. So I’m OK with the warning remaining for now since functionality is missing and hiding the warning is not going to fix it.
This fonr backend is unsupported and we bever automatically enable it or even advertise its existence.
(In reply to خالد حسني from comment #4)
> This fonr backend is unsupported and we bever automatically enable it or
> even advertise its existence.
I'm not sure I understand. Is the qt5 VCL not supported, or the "Qt font backend"? If it's the former - that's news to me. If it's the latter - then why is it used? I never asked for it or enabled it, I just used qt5 VCL.
(In reply to Eyal Rozenberg from comment #5)
> (In reply to خالد حسني from comment #4)
> > This fonr backend is unsupported and we bever automatically enable it or
> > even advertise its existence.
> I'm not sure I understand. Is the qt5 VCL not supported, or the "Qt font
> backend"? If it's the former - that's news to me. If it's the latter - then
> why is it used? I never asked for it or enabled it, I just used qt5 VCL.
Both. If you want a Qt VCL plugin, the supported one is kf5. The qt5 VCL plugin defaults to Qt font backend and it is incomplete and unsupported.