Bangla font is broken in some applications, where others are okay. I don’t know what exactly the issue is. Previously it was working fine. But it occurred after updating OS (I don’t remember which update).
Problamatic applications are:
- Save Dialog in LibreOffice
- Save Dialog in Firefox,
- Signal App from Community repo
- DuckDuckGo in Firefox
Apps with NO ISSUE:
- Dolphin
- Save Dialog in Kate
- Telegram
- Google in Firefox
- Facebook in Firefox
This seems the problem in GTK widgets. But I don’t know why websites in Firefox having this problem! Signal says it’s device specific!
Here’s my ~/.config/fonconfig/conf.d/90-bengali.conf
file:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" binding="strong" mode="prepend">
<string>Noto Serif Bengali</string>
</edit>
</match>
<match target="pattern">
<test name="lang" compare="contains">
<string>bn</string>
</test>
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" binding="strong" mode="prepend">
<string>Noto Serif Bengali</string>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
Here is my Firefox settings: