You are not logged in.

#1 2020-04-06 18:29:13

itsMarkhor
Member
From: Pakistan
Registered: 2020-04-04
Posts: 22

Urdu Fonts not rendering correctly.

Hi, I have just install Arch Linux but I'm facing some issues with the Urdu fonts they are not rendering/showing as they should have I did install the ttf-urdufonts font form the AUR

yay -S ttf-urdufonts

but they still show up like this in firefox
ClMokRX.png
while in Google chrome they look a little bit better than Firefox but still not actually as they should
cfCM1no.png
I did try to search before posting here and all I was able to find were those ttf-urdufonts in the AUR but those don't seem to work. I did find other urdu fonts ttf-jameel-noori-nastaleeq which doesn't even install as the source is no longer working this is the error I get when I try to build the ttf-jameel-noori-nastaleeq fonts

its:~ $ yay -S ttf-jameel-noori-nastaleeq
[sudo] password for its: 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  ttf-jameel-noori-nastaleeq-1-1

:: Downloaded PKGBUILD (1/1): ttf-jameel-noori-nastaleeq
  1 ttf-jameel-noori-nastaleeq               (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: Parsing SRCINFO (1/1): ttf-jameel-noori-nastaleeq
==> Making package: ttf-jameel-noori-nastaleeq 1-1 (Mon 06 Apr 2020 01:23:28 PM -05)
==> Retrieving sources...
  -> Downloading Jameel%20Noori%20Nastaleeq.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.urdujahan.com
Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.urdujahan.com
Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.urdujahan.com
Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.urdujahan.com
==> ERROR: Failure while downloading http://www.urdujahan.com/urdu-fonts/Jameel%20Noori%20Nastaleeq.zip
    Aborting...
Error downloading sources: ttf-jameel-noori-nastaleeq

Offline

#2 2020-11-27 11:41:17

ammar
Member
From: Pakistan
Registered: 2020-11-27
Posts: 2

Re: Urdu Fonts not rendering correctly.

Hi,

Follow these steps to get nafees nastaleeq Urdu fonts working in Linux:

1. Download fonts zip package from http://www.cle.org.pk/software/localiza … aleeq.html
2. Unzip the zip package:
   

unzip Nafees_Nastaleeq_v1.02.zip

3. You should have a .ttf file now, copy this .ttf file to ~/.fonts (By default you would not have this directory, create one if necessary)
   

cp "Nafees Nastaleeq v1.02.ttf" ~/.fonts

4. Refresh font cache:
   

sudo fc-cache -fv

5. Restart apps to use new font.

Last edited by ammar (2020-11-27 11:49:58)

Offline

#3 2020-11-27 13:32:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,372

Re: Urdu Fonts not rendering correctly.

itsMarkhor wrote:

I did find other urdu fonts ttf-jameel-noori-nastaleeq which doesn't even install as the source is no longer working this is the error I get when I try to build the ttf-jameel-noori-nastaleeq fonts

Whois urdujahan.com indicates the domain has been abandoned and is now inactive / parked .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2020-11-28 05:19:07

itsMarkhor
Member
From: Pakistan
Registered: 2020-04-04
Posts: 22

Re: Urdu Fonts not rendering correctly.

ammar wrote:

Hi,

Follow these steps to get nafees nastaleeq Urdu fonts working in Linux:

1. Download fonts zip package from http://www.cle.org.pk/software/localiza … aleeq.html
2. Unzip the zip package:
   

unzip Nafees_Nastaleeq_v1.02.zip

3. You should have a .ttf file now, copy this .ttf file to ~/.fonts (By default you would not have this directory, create one if necessary)
   

cp "Nafees Nastaleeq v1.02.ttf" ~/.fonts

4. Refresh font cache:
   

sudo fc-cache -fv

5. Restart apps to use new font.


Hi

it's still not working for me

oyLjBnx.png

Offline

#5 2020-12-06 09:57:04

ammar
Member
From: Pakistan
Registered: 2020-11-27
Posts: 2

Re: Urdu Fonts not rendering correctly.

it's still not working for me

Hi,

Just checked in firefox, seems to be working fine for me. Below are screenshots from chrome and firefox:

Chrome:
https://postimg.cc/18NgMH4h

Firefox:
https://postimg.cc/2L6yWdgt

Seems like you're using facebook in your screenshot so I tried facebook as well and seemed to be working fine.

What desktop environment are you using? I'm using KDE btw.

Did you try installing Jameel Noori Nastaleeq font or any other Urdu fonts using the little tutorial I provided? If not, give it a shot.

Offline

#6 2020-12-14 17:58:28

AbdullahToday
Member
Registered: 2020-12-13
Posts: 1

Re: Urdu Fonts not rendering correctly.

As salamu alykum. I just updated an orphaned package. I was having same issues which after installing this new package I adopted, are gone. Here is the AUR package.

https://aur.archlinux.org/packages/ttf-urdufonts

Here is how it looks like in my chrome browser.

https://imgur.com/a/Swix5OQ

Offline

#7 2021-01-07 15:18:31

zakhan
Member
Registered: 2021-01-07
Posts: 2

Re: Urdu Fonts not rendering correctly.

That all good how to install fonts and see if they work or not,

I would like to know is how to manually assign a font for urdu rendering .. how to exactly assign any font that I like to be used for urdu rendering ?

Regards

Offline

#8 2021-01-07 15:27:44

progandy
Member
Registered: 2012-05-17
Posts: 5,290

Re: Urdu Fonts not rendering correctly.

This fontconfig dropin from the ttf-urdufonts package should do the assignment. Use something similar for other fonts.
https://aur.archlinux.org/cgit/aur.git/ … -urdufonts

Here are the paths where you can save it:
https://wiki.archlinux.org/index.php/Fo … figuration


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#9 2021-01-09 06:57:51

zakhan
Member
Registered: 2021-01-07
Posts: 2

Re: Urdu Fonts not rendering correctly.

did change font in 90-fonts-urdu.conf , logout , rebooted no effect at all .. the font remained the same as displayed before.

progandy wrote:

This fontconfig dropin from the ttf-urdufonts package should do the assignment. Use something similar for other fonts.
https://aur.archlinux.org/cgit/aur.git/ … -urdufonts

checked all the files but it does not mention how language based fonts to be configured, its manly kind of fonts . from serif to non serif and others.

progandy wrote:

Here are the paths where you can save it:
https://wiki.archlinux.org/index.php/Fo … figuration

Offline

#10 2021-06-19 15:47:34

itsMarkhor
Member
From: Pakistan
Registered: 2020-04-04
Posts: 22

Re: Urdu Fonts not rendering correctly.

ammar wrote:

it's still not working for me

Hi,

Just checked in firefox, seems to be working fine for me. Below are screenshots from chrome and firefox:

Chrome:
https://postimg.cc/18NgMH4h

Firefox:
https://postimg.cc/2L6yWdgt

Seems like you're using facebook in your screenshot so I tried facebook as well and seemed to be working fine.

What desktop environment are you using? I'm using KDE btw.

Did you try installing Jameel Noori Nastaleeq font or any other Urdu fonts using the little tutorial I provided? If not, give it a shot.

Hi, I am using Gnome, and yes I have tried Jameel Noori Nastaleeq as well as ttf-urdufonts non of them seem to be working Idk what am I doing wrong but I even tried to change the fonts from the settings of firefox but still no effect.
8NNQixH.png

Offline

Board footer

Powered by FluxBB