Bug 486553 - KDE 6: Font fallback not working (works on KDE 5.27)
Summary: KDE 6: Font fallback not working (works on KDE 5.27)
Status: RESOLVED DUPLICATE of bug 478549
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-05-04 09:39 UTC by regunakyle
Modified: 2024-05-05 04:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description regunakyle 2024-05-04 09:39:12 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
In KDE 6 (on a brand new KDE Neon Unstable Edition installation), applications (e.g. Clipboard, Konsole) cannot display nerd font I installed in `$HOME/.local/share/fonts` unless I explicitly set the font to the nerd font. 

Font fallback works on KDE 5.27 though (on a brand new Debian 12 installation).

I posted on KDE forum about this a while ago ([link](https://discuss.kde.org/t/kde-6-no-fallback-font-on-konsole-and-other-applications-fedora-40/14719)). Not sure which application is responsible to this bug.

STEPS TO REPRODUCE
(Note: This is how you reproduce it in Konsole)
1. Download `NerdFontsSymbolsOnly.tar.xz` from [ryanoasis/nerd-fonts](https://github.com/ryanoasis/nerd-fonts/releases), then unzip it and move it to `$HOME/.local/share/fonts`, then run `fc-cache -f`. Close all instances of Konsole afterwards
2. Open a new instance of Konsole. Go to [Nerd Font cheatsheet](https://www.nerdfonts.com/cheat-sheet) and search for a random nerd font symbol (e.g. `nf-fa-fedora`), then copy the `Icon` (not `Class` or `UTF`) variant and paste it to Konsole. Notice that it just displays a square.
3. Go to Konsole settings, create a new profile that uses `Symbol Nerd Font Mono` as font. Then create a new Konsole window with this profile and paste the nerd font symbol again. The symbol is displayed correctly in this case.

OBSERVED RESULT
A square is displayed in place of the nerd font if my current font is not `Symbol Nerd Font Mono`

EXPECTED RESULT
The nerd font symbol is correctly displayed regardless of my current font (as long as I installed nerd font correctly)

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 3.8 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-7.2

ADDITIONAL INFORMATION
I originally found this issue in a brand new Fedora 40 installation.
On a brand new Debian 12 installation, font fallback works after you put the nerd font in `$HOME/.local/share/fonts` and run `fc-cache -f`.
Comment 1 Nate Graham 2024-05-05 04:05:06 UTC

*** This bug has been marked as a duplicate of bug 478549 ***