Score:2

Unicode Gujarati language word not rendering correctly in browsers

us flag

Using Google Input tools (the web-version as well as in Gmail) and in a Unicode converter online tool I am trying to get a word જયેન્દ્ર but somehow, except at one place in Firefox browser (please see under Unicode Character box in attached screenshot mozilla_3.png), it is rendering incorrectly. I verified this on Firefox and Google Chrome browsers I have on my Ubuntu 18.04 machine.

mozilla_1.png

enter image description here

mozilla_2.png

enter image description here

mozilla_3.png

enter image description here

google_chrome_1.png

enter image description here

google_chrome_2.png

enter image description here

Note:

  1. Both the browsers are of latest version supported on the specified version of Ubuntu.

  2. As a matter of fact trying to paste that word in this post without code quotes it gets rendered incorrectly.

  3. I have already made the font-settings as recommended in https://askubuntu.com/a/1008803/428475

Can anybody please let me know what could be the reason behind this behaviour and how do I fix it?

Gunnar Hjalmarsson avatar
uz flag
Without being able to explain the reason, I have one idea: Install the `fonts-noto-core` package and try the `Noto Sans Gujarati` font.
Jignesh Gohel avatar
us flag
@GunnarHjalmarsson `fonts-noto-core` is not available for Ubuntu 18.04 which I use on my machine. It is available for Ubuntu 20.04 LTS (see [here](https://ubuntu.pkgs.org/20.04/ubuntu-main-arm64/fonts-noto-core_20200323-1_all.deb.html)). I tried searching for the package for Ubuntu 18.04 and found https://packages.ubuntu.com/bionic/fonts-noto-hinted and trying to install that I see the message `fonts-noto-hinted is already the newest version (20171026-2)` but I am unable to view the `Noto Sans Gujarati` in available fonts list in Firefox settings. Only `Noto Sans Mono` is visible.
Jignesh Gohel avatar
us flag
@GunnarHjalmarsson My bad! The font `Noto Sans Gujarati` was available in the dropdown but at a level very much down which earlier I didn't navigated to. But just changing the default font didn't helped. I had to set that as the font in Sans-serif dropdown as well. And I kept the Monospace dropdown's value unchanged which was default set to `DejaVu Sans Mono`. And now the problems in reported in my question are resolved. Thanks a lot.
Score:1
us flag

Using the suggestions in comment Unicode Gujarati language word not rendering correctly in browsers I was able to resolve the issue.

Summarizing the steps below:

  1. Install font-noto-hinted (for Ubuntu 18.04; that is the version I am using)

  2. For Mozilla Firefox goto its Settings -> Language and Appearance -> Fonts and Colors -> Advanced and change the value for Serif (aka Default font) and Sans-serif to Noto Sans Gujarati.

  3. For Google Chrome go to its Settings -> Appearance - Customize Fonts and change Standard Font to Noto Sans Gujarati

Thanks.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.