| Summary: | If custom font is used, font weight is wrong when carrying over settings from Plasma 5 | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Akseli Lahtinen <akselmo> |
| Component: | Digital Clock widget | Assignee: | Akseli Lahtinen <akselmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Akseli Lahtinen
2023-11-06 10:33:20 UTC
Yeah, the Font::Weight changed between Qt 5 and Qt 6. In Qt 5 it is 0..100 with 50 being "Normal". In Qt 6 it follows OpenType with 0..1000 where 400 is "Normal". At least for digital clock, this should be fixed now with: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1798 Note for devs/testers: if you jump between Plasma 5 and 6 a lot, the font will look weird again, since the script is only ran once when updating. For regular user, who is just updating from 5 to 6 once, this fixes the issue. Also, the script in MR can be updated with more widgets if there are other font weight issues in other widgets. |