https://bugs.kde.org/show_bug.cgi?id=499885

            Bug ID: 499885
           Summary: Font features in Plasma 6 not persisting and not
                    applying system-wide
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: an...@azdanov.dev
  Target Milestone: ---

Created attachment 178186
  --> https://bugs.kde.org/attachment.cgi?id=178186&action=edit
Fonts settings

SUMMARY
Font features configured for the Inter font family are not being properly
applied and persisted in Plasma Desktop. The issue specifically affects
OpenType font features.

STEPS TO REPRODUCE
1. Go to "System Settings" -> "Text & Fonts" -> "Fonts"
2. Choose a font that supports Font Features, e.g. Inter
3. Add a feature from https://rsms.me/inter/#features, e.g `ss02` into "Comma
separated font features (e. g. liga, calt):"
3.  Click the OK button.
4. Click the OK button (or Apply and OK).

OBSERVED RESULT
The font feature is not applied. Upon logout and login the entered `ss02`
disappears completely from the Fonts setting.

EXPECTED RESULT
To be able to use font features to make certain fonts more eligible.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I've tried using custom fontconfig at
`~/.config/fontconfig/conf.d/20-inter-features.conf` to apply a font feature,
but it only worked for certain applications like Firefox, and not for System
Settings, for example.

```xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <match target="font">
                <test qual="any" name="family"><string>Inter</string></test>
                <!-- These are set with "prepend" so that applications which
configure features don't get overridden -->
                <edit name="fontfeatures" mode="prepend">
                        <string>cv05</string><!-- Lower-case L with tail -->
                </edit>
        </match>
</fontconfig>
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to