Hello
I’m using Anki in Arch linux both latest updates
Some cards cause the app to freeze (browser or when showing the back of the card in reviewer)
Fontconfig error: Cannot load default config file: No such file: (null)
It happens with some cards, and I don’t know what part of that card could possibly cause this (It doesn’t happen with freetype2 2.13.3)
You can test the card from this
Just open it in Anki and view this card via browser or reviewer
https://transfer.it/t/GtcJr4pl0TZQ
I tried reporting it to freetype but they said
”
Please contact the Anki people. We don’t use this software, and I don’t plan to start using it.
If there is a problem with FreeType, Anki will certainly submit an issue.
Closing as invalid.
”
abdo
October 3, 2025, 1:25pm
2
Can you reproduce the issue with other Qt apps? You can try qutebrowser for example.
1 Like
The problem is I don’t know what part of some note causes this issue!
If know I can try
I’m using goldendict too (qt app) and I have not experienced something similar
@abdo
I found the problem
It had nothing to do with Freetype2
The Youtube video in cards can’t be loaded:
1- No internet connection
2- Youtube restricted in your country
These cause the Fontconfig error
I was able to not face this error with VPN (loading the youtube video)
Any thoughts?
abdo
October 3, 2025, 10:38pm
5
You might have luck setting the FONTCONFIG_PATH env var:
14.04, fonts
No luck with that
But as you initially suspected it might be a qt problem
I tried opening this in qutebrowser
<!DOCTYPE html>
<html>
<head>
<title>Embedded Video</title>
</head>
<body>
<div style="text-align: center;">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/8Dv3zZbDvig"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
</body>
</html>
And I can see the same fontconfig error in my terminal!
The only difference is that in Anki the webview becomes unusable (I have to kill/terminate Anki) but in qutebrowser I can zoom in and out just fine.
I tried the html file in other browsers and no fontconfig error.
1 Like
system
Closed
November 3, 2025, 9:32am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.