Fix malayalam font

This commit is contained in:
2024-09-14 21:34:17 +05:30
parent 027bd37909
commit 6fa595df78
2 changed files with 27 additions and 20 deletions
@@ -4,22 +4,22 @@
<fontconfig> <fontconfig>
<!-- Generic alias this font to sans-serif --> <!-- Generic alias this font to sans-serif -->
<alias> <alias>
<family>Manjari</family>
<default>
<family>sans-serif</family> <family>sans-serif</family>
</default> <prefer>
<family>Noto Sans</family>
<family>Noto Sans Malayalam</family>
</prefer>
</alias> </alias>
<!-- For Malayalam sans-serif, prefer this font --> <!-- For Malayalam sans-serif, prefer this font -->
<match> <!-- <match> -->
<test compare="contains" name="lang"> <!-- <test compare="contains" name="lang"> -->
<string>ml</string> <!-- <string>ml</string> -->
</test> <!-- </test> -->
<test name="family"> <!-- <test name="family"> -->
<string>sans-serif</string> <!-- <string>sans-serif</string> -->
</test> <!-- </test> -->
<edit binding="strong" mode="prepend" name="family"> <!-- <edit binding="strong" mode="prepend" name="family"> -->
<string>Manjari</string> <!-- <string>Manjari</string> -->
</edit> <!-- </edit> -->
</match> <!-- </match> -->
<dir>~/.fonts</dir>
</fontconfig> </fontconfig>
+7
View File
@@ -29,3 +29,10 @@ if test -z "$USER_PROFILEREAD"; then
export USER_PROFILEREAD=1 export USER_PROFILEREAD=1
fi fi
if [ -n "$BASH_VERSION" -a -n "$PS1" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi