Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First Download the “Noto Sens Bengali” font from here.
- Extract the zip folder and copy-paste the extracted folder in “/usr/share/fonts/truetype” directory.
- Install the “Noto Sens Bengali” font using any font-utility app like:
- Font Manager (http://fontmanager.github.io/)
- Create a new file named “fonts.conf” in “~/.config/fontconfig/” directory.
- NOTE: The sign “~” defines the home directory, means “/home/<username>/” folder.
- NOTE: “.config” is a hidden folder. To show hidden files and folders press Ctrl + H from the keyboard.
- NOTE: If the folder “fontconfig” and/or file “fonts.conf” not exist in your system then create the folder and/or the file.
- Write the below code in “fonts.conf” file:
- <?xml version="1.0"?>
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
- <fontconfig>
- <alias>
- <family>Ubuntu</family>
- <prefer>
- <family>Ubuntu</family>
- <family>Noto Sans Bengali</family>
- </prefer>
- </alias>
- <alias>
- <family>Ubuntu Mono</family>
- <prefer>
- <family>Ubuntu Mono</family>
- <family>Noto Sans Bengali</family>
- </prefer>
- </alias>
- </fontconfig>
- Finally, Save the file and re-login.
- <?xml version="1.0"?>
- <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
- <fontconfig>
- <match>
- <test name="family"><string>sans-serif</string></test>
- <edit name="family" mode="prepend" binding="strong">
- <string>Noto Sans Bengali</string>
- </edit>
- </match>
- <match>
- <test name="family"><string>serif</string></test>
- <edit name="family" mode="prepend" binding="strong">
- <string>Noto Serif Bengali</string>
- </edit>
- </match>
- </fontconfig>
- https://github.com/tazihad/bangla-font-fix-linux?fbclid=IwAR0OM0ADtapFfyq-2PrMf-BOg_D_sECqAgtHCHDQUV7Pf2OjO6K3g6zm1iE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement