Bug 152282 - warn:vcl.fonts ... Getting font variations is not supported
Summary: warn:vcl.fonts ... Getting font variations is not supported
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 152280 (view as bug list)
Depends on:
Blocks: Qt5 console-noise
  Show dependency treegraph
 
Reported: 2022-11-28 21:20 UTC by Eyal Rozenberg
Modified: 2023-02-14 08:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-11-28 21:20:11 UTC
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: 7.5.0.0.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
Comment 1 V Stuart Foote 2022-11-28 22:48:20 UTC
*** Bug 152280 has been marked as a duplicate of this bug. ***
Comment 2 ⁨خالد حسني⁩ 2022-11-29 00:19:12 UTC
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.
Comment 3 ⁨خالد حسني⁩ 2022-12-01 19:31:41 UTC
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.
Comment 4 ⁨خالد حسني⁩ 2023-02-13 22:14:55 UTC
This fonr backend is unsupported and we bever automatically enable it or even advertise its existence.
Comment 5 Eyal Rozenberg 2023-02-13 22:36:55 UTC
(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.
Comment 6 ⁨خالد حسني⁩ 2023-02-14 08:02:23 UTC
(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.