Request better Arabic font for Ubuntu 20.04

The idea is to give both Noto Sans Arabic and Noto Sans higher precedence than DejaVu Sans for Arabic users (the latter defined as users who are using an Arabic locale).

It will be easier to talk about this when I have uploaded the related changes to the language-selector package. Then people will be able to simply update and test for themselves, and possible modifications can be made. But before I do that, there is a pending item which @xlmnxp is investigating: Should we use the basic Noto Sans Arabic font or the Noto Sans Arabic UI variant.

Noto Sans Arabic UI will be better for everything

1 Like

Noto Sans Arabic UI

Noto Sans Arabic

Ok, I think I will upload a change where Noto Sans Arabic UI is used for sans-serif. Once it’s in the archive, people will be able to test more easily.

1 Like

The discussed changes have been uploaded to groovy with language-selector 0.206.

Installation

If you are on groovy, you can just upgrade your packages:

sudo apt update
sudo apt full-upgrade

That should install language-selector-common 0.206 and language-selector-gnome 0.206.

If you are on Ubuntu 20.04, you can:

Setup

  • Open the Language Support tool.

  • If you haven’t installed Arabic before:

    1. click the Install / Remove Languages… button

    2. install Arabic

  • If you already have installed Arabic:

    1. find that you are prompted to install fonts-noto-core and fonts-noto-ui-core

    2. accept by clicking the Install button

  • Open Settings -> Region & Language

  • Select Arabic as the Language

  • Log out and log in again

Look around

Arabic contents should now normally be shown using Noto fonts.

  • Test various apps, browse some Arabic web pages, and decide if you like the rendering of Arabic text.

  • Give us feedback. Are you satisfied with the Arabic rendering? Let us also know about possible specific issues you observe.

4 Likes

What about when I am using a German locale and want to have a better Arabic font overall without installing another language? For example, in Kubuntu 20.04 I was using a German local and did not install any other language, and the Arabic font in Facebook in Firefox was much better by default than in Ubuntu.

That’s a limitation with this solution. Hopefully, in the future, we can set it up in Ubuntu in a similar way that Kubuntu does today. But for now (Ubuntu 20.10 and possibly 20.04) we need to keep this requirement.

However, there are ways to work around it. Reminding again about this comment.

Ping @xlmnxp @alawami-az @URD @om26er @Amr-Ibrahim @jamalinux @Amr-Ibrahim

Hi again,

I would very much appreciate some explicit feedback on the current configuration of Arabic in language-selector 0.206.

The project with improving Arabic rendering is not completed yet. We should fix it so an Arabic install of Ubuntu comes with the better fonts rendering by default, and the changes should also be backported to Ubuntu 20.04.

But before I go on with that, please let me know if you think that the current groovy configuration is good enough.

3 Likes

I will try it in both

1 Like

Can we apply that on installer?
I mean when use choose Arabic as Installation language
Ubuntu should use the better Arabic rendered

It works fine in Ubuntu 20.10 (Groovy)

1 Like

Since the fonts-noto-core package won’t be included in the ISO with this solution, it will not be possible to apply it on the installer itself.

What I intend to fix is that if a user chooses Arabic as the installation language, the better rendering will be present at the first boot/login after the install. But that’s not in place yet, so you can’t test that part right now.

1 Like

That will be Amazing!

Review Arabic render
Ubuntu 20.10 Groovy
https://youtu.be/c-OStrVnvvY

Saw the video. Did it look as you expected? Any negative surprises?

It has Hindu–Arabic numbers like ٦٤ بتة
that make Application not work correctly
but I think it not from fontconfig
otherwise it work fine! :smile:

The more open counters in the new font should make Arabic text much easier to read. As long as there is still no Ubuntu fonts release that includes the Arabic and Hebrew work done by Dalton Maag back in 2011 (what happened here, @sabdfl?), @gunnarhj’s work should be a huge improvement. Excellent work, Gunnar!

@gunnarhj just finished applying the steps listed here

I am on 20.04 Pop_OS! all seems to be working as expected, perhaps a small note would be that arrows still point left to right instead of right to left when switching the language, but I guess that is not font relevant in any way.

I think the last time I had Arabic interfaces on any operating system was in 2001 :smiley:

I’m sorry to ask if this has been answered already (I found it hard to follow a previous comment where Dejavu is deleted) , but what would be the steps to have this Arabic font (Noto Arabic UI) only show up for Arabic text without having to change the default latin font itself? is this possible?

Thanks
Jamal

1 Like

Add next line to /etc/default/locale

LC_CTYPE="ar_SA.UTF-8"

then reboot

2 Likes

Thanks. Kubuntu’s approach, i.e. to basically replace DejaVu with Noto, is probably a better long-term way to deal with this matter. But that will be another project.

1 Like