Created attachment 195149 [details] Demonstration and comparisons DESCRIPTION The clock widget incorrectly handles OpenType font features when set in System Settings / kdeglobals. The Date section behaves as expected regardless of layout (and the font is displayed correctly as in other programs), while the Time section uses the correct font but disregards features and uses odd spacing. STEPS TO REPRODUCE 1. Change fonts in System Settings to a font supporting OpenType features 2. Enter desired features in the font selector box 3. Restart plasmashell as needed to apply changes 4. Observe that the features are correctly used by all parts of Plasma except the digital clock's Time section OBSERVED RESULT The date uses correct font features (as does the rest of Plasma), while the time does not respect the configuration and the font is unchanged from its default. The clock itself also appears to be forced monospace, with 1s in particular being oddly spaced out. EXPECTED RESULT Font features are applied consistently everywhere SOFTWARE/OS VERSIONS Operating System: Fedora Kinoite 44 KDE Plasma Version: 6.7.4 KDE Frameworks Version: 6.28.0 Qt Version: 6.11.1 ADDITIONAL INFORMATION Demonstrated with the Inter font Features used are: calt,case,cv06,cv10,cv11,dlig,frac,ss01,ss04
Wonder if that's because we explicit use tnum for the clock (in 6.7 already I think) and maybe that overwrites any globally set features?
(In reply to Kai Uwe Broulik from comment #1) > Wonder if that's because we explicit use tnum for the clock (in 6.7 already > I think) and maybe that overwrites any globally set features? That would make sense, the spacing seems to match with only using tnum. I can't see an option to specify features in the widget's font selector either. (Also if it's worth anything the lock screen clock does use font features as expected)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7299
Git commit dc5f26b296c48a5705c37102152aff16fa6c93b8 by Niccolò Venerandi. Committed on 27/10/2026 at 00:01. Pushed by niccolove into branch 'master'. applets/digital-clock: Keep the system font's OpenType features for the time The time label sets font.features to { "tnum": 1 } so that the digits are tabular and the clock does not jitter while the time changes. Assigning font.features replaces the whole feature map, so all features inherited from the system font were dropped for the time only. M +1 -1 applets/digital-clock/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/dc5f26b296c48a5705c37102152aff16fa6c93b8
Git commit e65d6fab9c2501cbc20a6fff63694e6072713e8a by Niccolò Venerandi. Committed on 27/10/2026 at 00:02. Pushed by niccolove into branch 'Plasma/6.8'. applets/digital-clock: Keep the system font's OpenType features for the time The time label sets font.features to { "tnum": 1 } so that the digits are tabular and the clock does not jitter while the time changes. Assigning font.features replaces the whole feature map, so all features inherited from the system font were dropped for the time only. (cherry picked from commit dc5f26b296c48a5705c37102152aff16fa6c93b8) Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com> M +1 -1 applets/digital-clock/DigitalClock.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/e65d6fab9c2501cbc20a6fff63694e6072713e8a