Fix Bangla font problem in Ubuntu

image

FTP Server Configuration for Ubuntu 16.04

FTP, short for File Transfer Protocol, is a network protocol that was once widely used for moving files between a client and server.

Read More

image

How to Set Up Two-Factor Authentication in Ubuntu

Two-factor authentication is a great answer to the many problems with traditional passwords.

Read More

image

How to Setup Apache Virtual Hosts on Ubuntu 16.04

Apache virtual host helps to run multiple websites on the same server. There are two types of virtual host configuration that apache supports

Read More

Ping BD Template

Clients Feedback

  • We are very much happy to seeing my website. He developed website our requirement. We wishes good luck for ping BD

    image

    Shahnewaz Art

    Indipendent Designer

Fix Bangla font problem in Ubuntu


In this post, I will share a workaround to fix Bangla Font problem in Ubuntu.
Below I give all the possible task to use Bangla in Ubuntu. Follow all the below techniques
to full-proof you Bangla experience in Ubuntu.
Select Bangla Font in Ubuntu
Ubuntu default font for Bengali is “FreeSans”, which break the Bangla font like this:
To Solve this we can delete the “FreeSans” font from
“/usr/share/fonts/trueype/freefont/” folder.
An alternative way is to tell Ubuntu to use another font
instead of “FreeSans“.
To do this follow the instruction below:
1. First Download the “Noto Sens Bengali” font from here.
2. 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/)
3. 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.
4. Write the below code in “fonts.conf” file:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>Ubuntu</family>
<prefer><family>Noto Sans Bengali</family></prefer>
</alias>
<alias>
<family>Ubuntu Mono</family>
<prefer><family>Noto Sans Bengali</family></prefer>
</alias>
</fontconfig>
1/25. Save the file and re-login.
The result will be:
Install Bangla Language Packages in Ubuntu (Ubuntu 18.04
LTS+)
To install Bangla fonts and related things in Ubuntu follow the below steps:
1.
2.
3.
4.
5.
Open “Settings“
Go to “Region & Language“
Click “Manage Installed Languages“
Click “Install / Remove Languages...“
Select “Bangla” and Click “Apply“
That’s it!
Set Bangla Font in Firefox
To set Bangla font in Firefox, follow the steps:
1.
2.
3.
4.
Write “about:config” and press
Write “beng” in the search bar
Change value like following:
Change “font.default.x-beng” to:
"Noto Sens Bengali", serif
5. Change “font.name-list.monospace.x-beng” to:
"Noto Sens Bengali", monospace
6. Change “font.name-list.sensserif.x-beng” to:
"Noto Sens Bengali", sans-serif
7. Change “font.name-list.serif.x-beng” to:
"Noto Sens Bengali", serif
NOTE: The above techniques tested in Ubuntu 16.04 LTS & Ubuntu 18.04 LTS