Browse Source

Fix malayalam font

master
Harish Karumuthil 12 months ago
parent
commit
6fa595df78
  1. 30
      home/.config/fontconfig/conf.d/50-hari-malayalam.conf
  2. 7
      home/.profile

30
home/.config/fontconfig/conf.d/50-hari-malayalam.conf

@ -4,22 +4,22 @@
<fontconfig>
<!-- Generic alias this font to sans-serif -->
<alias>
<family>Manjari</family>
<default>
<family>sans-serif</family>
</default>
<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>
<dir>~/.fonts</dir>
<!-- <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
home/.profile

@ -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

Loading…
Cancel
Save