| Summary: | Opentype font feature override list is ineffective | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Andrea Ippolito <andrea.ippo> |
| Component: | kcm_fonts | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | akselmo, aoeui, christoph, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.5 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Left: original Inter Display ttf font, Right: my variation with some OpenType features enabled
my patched version of InterDisplay-Regular with calt, cv05, cv06, cv08, ss01, along with the unpatched font |
||
|
Description
Andrea Ippolito
2024-09-22 15:21:18 UTC
Created attachment 173965 [details] Left: original Inter Display ttf font, Right: my variation with some OpenType features enabled The one on the left comes straight from: https://rsms.me/inter/download/ In the zip, it's under `extras/ttf/InterDisplay-Regular.ttf` The one on the right is that ttf after having undergone some changes with opentype-feature-freezer: https://github.com/twardoch/fonttools-opentype-feature-freezer `pyftfeatfreeze -rv -f calt,ss01,cv05,cv06,cv08 -S InterDisplay-Regular.ttf newName.ttf` I will attach both TTFs for ease of investigation Created attachment 173966 [details]
my patched version of InterDisplay-Regular with calt, cv05, cv06, cv08, ss01, along with the unpatched font
Also, when I open the font selection popup again, the overrides (comma separated list of features) I had provided are gone. I agree this is a bit confusing, but it has not been yet implemented in other apps but Kate for now. It should be hidden from applications that do not support it yet. (In reply to Akseli Lahtinen from comment #4) > I agree this is a bit confusing, but it has not been yet implemented in > other apps but Kate for now. > > It should be hidden from applications that do not support it yet. Indeed that seems to be the case. However, even in the Kate font settings, it seems that only the first feature of the list is taken into account If we fix that bug in KConfig it should work. *** This bug has been marked as a duplicate of bug 499736 *** |