No fonts in Krita, at a loss :(

Hello, I use Krita 6.0.1 on Archlinux and I am trying to insert text but there are no fonts. If I click on the little arrows next to the “sans serif” nothing happens. Nothing opens. There are no fonts.

I can type in the first letters of a font name and then click on the little arrow, and it completes the name of the font. But no font is ever actually used, it always stays the same default font.

So far I have found the suggestion to remove the .local/share/krita directory, which I did. I also found a suggestion to remove a restriction to the locale, which is an option that I could not find anywhere. Maybe it is hidden in some menu that I haven’t found yet?

I am at a total loss and I really need to finish my work, trying to solve this has cost me 2 days already, please help

That’s a bug with the qt6 version of Krita, and I cannot reproduce it locally (it has to do with the precise qt6 version), so I can’t fix it. You can try to see if the appimage for Krita Next does have it fixed, as I decided to handle the way it does the font pop-up completely differently.

1 Like

Thank you very much, at least now I know it’s probably not my fault. And I am very excited to get a new font pop-up! However I tried the prealpha AppImage but it simply does not launch at all. Sad times. But please don’t take time out of your certainly busy day to help debug my cursed computer set-up, I might just reinstall my computer or something, it will be okay

Try to set the appimage as “executable” before you click to run it.

Oh, it very much runs (I tried the krita-6.1.0-prealpha-99e91d046e-x86_64.AppImage), it just peacefully exits before it gets around to doing anything. No errors, just finished. I am starting to think that something about my fonts is extremely broken, because looking at strace, one of the last things the AppImage does is access things in .fontconfig (which does not exist) and /usr/share/fonts

I would love to see the gdb backtrace if you’re able to get it…

Hm I tried, but I don’t seem able to get a backtrace (I do the gdb ./Appimage, set pagination off, run, bt, and gdb just says “no stack”) Is there anything special I need to do to make this work? I am very happy to help debug if you think it’s useful, though I worry I just did something with my computer again that no single other person on the planet will ever do :sweat_smile:

Ok, then I don’t know either. I’m just a little sad for you you can’t use your pc… :frowning:

…I think the no backtrace might be because there’s no actual crash, it exits with 0, task done.

I will be fine, if I can’t figure this out I will simply invest the 30–60 minutes to install some other distro and get going again. It’s just that I actively enjoy debugging things that do not work, so I always try to find out what’s going on first

1 Like

Never mind, I was just being stupid, I had a krita version already running in another workspace so of course it exited. The AppImage does run, and it does have fonts. I get one error that says “please tell developers” but if I hit “ignore” it seems to work.

So of course I am going to use this pre-alpha version now to do my productive work because I am that kind of person. Thank you very much for your patience and your work and the fonts selection works GREAT. :cherry_blossom:

           PID: 21275 (krita)
           UID: 1000 (skye)
           GID: 1000 (skye)
        Signal: 6 (ABRT)
     Timestamp: Thu 2026-04-23 14:17:43 CEST (3s ago)
  Command Line: /tmp/.mount_krita-kOjLDE/usr/bin/krita
    Executable: /tmp/.mount_krita-kOjLDE/usr/bin/krita
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/vte-spawn-872f00a0-c83a-4745-abd7-dca293641915.scope
          Unit: user@1000.service
     User Unit: vte-spawn-872f00a0-c83a-4745-abd7-dca293641915.scope
         Slice: user-1000.slice
     Owner UID: 1000 (skye)
       Boot ID: 5717edcd54d643bc953a20906a8cc947
    Machine ID: ff9fcd4f48344886b731e8719182e457
      Hostname: alfred
       Storage: /var/lib/systemd/coredump/core.krita.1000.5717edcd54d643bc953a20906a8cc947.21275.1776946663000000.zst (present)
  Size on Disk: 28.7M
       Message: Process 21275 (krita) of user 1000 dumped core.
                
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libexiv2.so.27 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libexiv2.so.27
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libjson-c.so.5 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libjson-c.so.5
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmypaint.so without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmypaint.so
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblcms2.so.2 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblcms2.so.2
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblcms2_fast_float.so.2 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblcms2_fast_float.so.2
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libdeflate.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-cursor.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-cursor.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-glx.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-glx.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-util.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-util.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxkbcommon-x11.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxkbcommon-x11.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-xkb.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-xkb.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-xfixes.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-xfixes.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-sync.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-sync.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-render.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-render.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgcrypt.so.20 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgcrypt.so.20
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblz4.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblz4.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libzstd.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libzstd.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libicudata.so.72 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblzma.so.5 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/liblzma.so.5
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libcrypto.so.3 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libcrypto.so.3
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libsystemd.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libsystemd.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libbrotlicommon.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpcre.so.3 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpcre.so.3
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libicuuc.so.72 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libicuuc.so.72
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-randr.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-randr.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libdbus-1.so.3 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libdbus-1.so.3
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgslcblas.so without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgslcblas.so
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libicui18n.so.72 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libicui18n.so.72
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpcre2-16.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpcre2-16.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxkbcommon.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxkbcommon.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libglib-2.0.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libglib-2.0.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgsl.so without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libgsl.so
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-shm.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-shape.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-render-util.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-render-util.so.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libbrotlidec.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmlt-7.so.7.28.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmlt-7.so.7.28.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libudev.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libudev.so.1
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libcap.so.2 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libcap.so.2
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmlt++-7.so.7.28.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libmlt++-7.so.7.28.0
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpng16.so.16 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libpng16.so.16
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-keysyms.so.1 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-image.so.0 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-icccm.so.4 without build-id.
                Module /tmp/.mount_krita-kOjLDE/usr/lib/libxcb-icccm.so.4
                Stack trace of thread 21275:
                #0  0x00007fcac1298a2c n/a (libc.so.6 + 0x98a2c)
                #1  0x00007fcac123e1a0 raise (libc.so.6 + 0x3e1a0)
                #2  0x00007fcac12255fe abort (libc.so.6 + 0x255fe)
                #3  0x00007fcac1abe16d n/a (/tmp/.mount_krita-kOjLDE/usr/lib/libQt6Core.so.6 + 0xbe16d)
                #4  0x0000000000000000 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

2 Likes

I have the exact same problem, also on Arch Linux.

Qt5 version 5.15.18, Qt6 version 6.11.0

From gdb (with the thread messages removed):

Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed,  "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: libKSeExprUI.so.6: cannotopen shared object file: No such file or directory"
Loading plugin "/usr/lib/kritaplugins/kritamypaintop.so" failed,  "Cannot load library /usr/lib/kritaplugins/kritamypaintop.so: libmypaint.so.0: cannot open shared object file: No such file or directory"

Fontconfig warning: ignoring en_Latn_US: not a valid region tag
Could not execute addResourceVersionImpl statement QSqlError("2067", "Unable to fetch row", "UNIQUE constraint failed: versioned_resources.resource_id, versioned_resources.storage_id, versioned_resources.version") 1018 "fontregistry" "fontregistry" "Noto Sans Sinhala" "Noto Sans Sinhala" version 0
SAFE ASSERT (krita): "result" in file /usr/src/debug/krita/krita-6.0.1/libs/resources/KisResourceCacheDb.cpp, line 2160

krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 37, in <module>"
krita.scripting: "    from .api import *"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 34, in importAvoidWrongPyQtHack"
krita.scripting: "    return import_real(name, globals, locals, fromlist, level)"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/api.py\", line 15, in <module>"
krita.scripting: "    from PyKrita.krita import *"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 34, in importAvoidWrongPyQtHack"
krita.scripting: "    return import_real(name, globals, locals, fromlist, level)"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 34, in importAvoidWrongPyQtHack"
krita.scripting: "    return import_real(name, globals, locals, fromlist, level)"
krita.scripting: "ModuleNotFoundError: No module named 'PyQt6'"
krita.scripting: "Could not import krita"

Typing a font-family manually shows

qt.xkb.compose: failed to create compose table
qrc:/SvgTextToolOptions.qml:31: ReferenceError: updateTextProperties is not defined

Installing python-pyqt6, kseexpr, and libmypaint removes all of the errors aside from:
Fontconfig warning: ignoring en_Latn_US: not a valid region tag Could not execute addResourceVersionImpl statement QSqlError("2067", "Unable to fetch row", "UNIQUE constraint failed: versioned_resources.resource_id, versioned_resources.storage_id, versioned_resources.version") 1018 "fontregistry" "fontregistry" "Noto Sans Sinhala" "Noto Sans Sinhala" version 0 SAFE ASSERT (krita): "result" in file /usr/src/debug/krita/krita-6.0.1/libs/resources/KisResourceCacheDb.cpp, line 2160

Removing ~/.cache/krita did not help; running sudo fc-cache also did not change anything.

I moved /usr/share/fonts/noto/NotoSansSinhala* somewhere else, and while it did make the error disappear (apart from the Fontconfig warning), the issue was not resolved, so the Sinhala font here is a red herring.