The crux of the issue is discussed here:
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/565

A possible workaround is to do this:

# stop the crashes: hide WOFF/WOFF2 from fontconfig (fonts-katex also
ships .ttf copies)

mkdir -p ~/.config/fontconfig/conf.d
printf '%s\n' 
'<fontconfig><selectfont><rejectfont><glob>*.woff</glob><glob>*.woff2</glob></rejectfont></selectfont></fontconfig>'
 \
> ~/.config/fontconfig/conf.d/10-reject-woff.conf

# restore the host's own caches (brings Type1 back); repeat after Chrome rescans
find ~/.cache/fontconfig -name '*-le64.cache-9' -type l -delete && fc-cache

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168420

Title:
   libfontconfig: SIGSEGV in FcCharSetHasChar (rax=0xfefefefefefefefe)
  in Qt6 apps with a user font cache in ~/.cache/fontconfig

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/2168420/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to