SUMMARY Ligatures that are on-by-default seem to work, but I can find no way to turn on optional Ligatures like those provided by the Monaspace fonts: https://github.com/githubnext/monaspace STEPS TO REPRODUCE 1. Download Monaspace fonts and install 2. Select them in Kate OBSERVED RESULT Optional ligatures are not available. EXPECTED RESULT There should be GUI element that allows turning ligatures on/off and selecting optional ligatures. This code could be shared with other KDE components that do font selection. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 23.10 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION
Thanks for reporting this - as a KDE bug-triager, I have categorised this as a feature request.
https://doc.qt.io/qt-6/qfont.html#setFeature-1
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwidgetsaddons/-/merge_requests/260
Git commit 810903365c3dd25d1e6b859a9b853df298ed23a5 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 22/08/2024 at 19:50. Pushed by cullmann into branch 'master'. FontChoose: Allow setting font features when selecting font Atm this setting can't work without support from the application because QFont::toString() doesn't include the feature tags and we (Kconfig) uses QFont::toString() to save a font M +69 -0 src/kfontchooser.cpp M +41 -31 src/kfontchooserwidget.ui https://invent.kde.org/frameworks/kwidgetsaddons/-/commit/810903365c3dd25d1e6b859a9b853df298ed23a5
We still need to fix the config saving.
https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/720 For KTextEditor that works, we still need a generic solution for KConfig, not sure how to do that without breaking compatibility.
We would need https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/720 in generic to support the features of both free modern fonts like Inter or paid stuff like MonoLisa.
*** Bug 499885 has been marked as a duplicate of this bug. ***