[konsole] [Bug 478549] New: Nerd fonts are not rendered on plasma 6 when using detached font

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Dec 15 11:54:23 GMT 2023


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

            Bug ID: 478549
           Summary: Nerd fonts are not rendered on plasma 6 when using
                    detached font
    Classification: Applications
           Product: konsole
           Version: 24.01.80
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: me at heyi7086.com
  Target Milestone: ---

On plasma 6, kde applications cannot render nerd fonts (PUA), if:
* font is set to monospace
* Nerd font is installed separately instead of a patched font, i.e.
ttf-nerd-fonts-symbols-mono on arch
* "Symbols Nerd Font Mono" is preferred in fontconfig, e.g. 
```
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Symbols Nerd Font Mono</family>
      <family>hack</family>
    </prefer>
  </alias>
</fontconfig>
```

The exact same configuration works on plasma5, but not on plasma6.
This applies to both konsole and kate, haven't tested other kde applications
but I'd assume the same result.
Non-kde applications like foot, wezterm works as expected (fonts rendered).
When using a patched nerd font instead of detached nerd font symbols (e.g.
ttf-hack-nerd), fonts are rendered correctly.

related package:
ttf-nerd-fonts-symbols-mono  3.1.1-1
kde-unstable/konsole 24.01.80-1
kde-unstable/kate 24.01.80-1

STEPS TO REPRODUCE
1. install said package
2. set konsole font to monospace
3. echo '\xEF\x90\xBA'

OBSERVED RESULT
tofu

EXPECTED RESULT


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list