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
@@ -2,24 +2,24 @@
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<!-- Generic alias this font to sans-serif -->
<alias>
<family>Manjari</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- For Malayalam sans-serif, prefer this font -->
<match>
<test compare="contains" name="lang">
<string>ml</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Manjari</string>
</edit>
</match>
<dir>~/.fonts</dir>
<!-- Generic alias this font to sans-serif -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Sans Malayalam</family>
</prefer>
</alias>
<!-- For Malayalam sans-serif, prefer this font -->
<!-- <match> -->
<!-- <test compare="contains" name="lang"> -->
<!-- <string>ml</string> -->
<!-- </test> -->
<!-- <test name="family"> -->
<!-- <string>sans-serif</string> -->
<!-- </test> -->
<!-- <edit binding="strong" mode="prepend" name="family"> -->
<!-- <string>Manjari</string> -->
<!-- </edit> -->
<!-- </match> -->
</fontconfig>
+7
View File
@@ -29,3 +29,10 @@ if test -z "$USER_PROFILEREAD"; then
export USER_PROFILEREAD=1
fi
if [ -n "$BASH_VERSION" -a -n "$PS1" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi