You are not logged in.

#1 2022-03-02 14:25:00

PythonLinux
Member
Registered: 2021-06-25
Posts: 102

Pages in non-latin languages not displaying correctly

So I have this weird issue where pages in say, Japanese, are completely garbled (and yes, I've installed a complete set of Unicode fonts. I checked that immediately). See the first image below for an example. This issue is present in both Firefox and Chromium. However, only Firefox has issues with some English pages. As you can see in the second screenshot the font is off and somewhat faded (I chose that website because that was the first site I can think of where I've encountered this issue.)

https://ibb.co/Ct9Tyvx
https://ibb.co/0JkKxr0

Any ideas?

Offline

#2 2022-03-02 14:41:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,063

Re: Pages in non-latin languages not displaying correctly

The first screenshot doesn't resolve the glyphs - you might have installed "a complete set of Unicode fonts" but FF ain't using it.
Second screenshot looks like some bitmap font (from gsfonts?) is resolved or antialiasing settings are ignored.
Output of

FC_DEBUG=4 pango-view --font="sans" -t "コ" | grep family:

?

Offline

#3 2022-03-02 14:43:14

PythonLinux
Member
Registered: 2021-06-25
Posts: 102

Re: Pages in non-latin languages not displaying correctly

The output is

 pango-view: Invalid byte sequence in conversion input

Offline

#4 2022-03-02 14:51:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,063

Re: Pages in non-latin languages not displaying correctly

localectl
locale
locale -a

Offline

#5 2022-03-02 14:53:37

PythonLinux
Member
Registered: 2021-06-25
Posts: 102

Re: Pages in non-latin languages not displaying correctly

localectl

   System Locale: LANG=en_us.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

locale

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_us.UTF-8
LC_CTYPE="en_us.UTF-8"
LC_NUMERIC="en_us.UTF-8"
LC_TIME="en_us.UTF-8"
LC_COLLATE="en_us.UTF-8"
LC_MONETARY="en_us.UTF-8"
LC_MESSAGES="en_us.UTF-8"
LC_PAPER="en_us.UTF-8"
LC_NAME="en_us.UTF-8"
LC_ADDRESS="en_us.UTF-8"
LC_TELEPHONE="en_us.UTF-8"
LC_MEASUREMENT="en_us.UTF-8"
LC_IDENTIFICATION="en_us.UTF-8"
LC_ALL=

locale -a

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.iso88591
en_US.utf8
he_IL
he_IL.iso88598
he_IL.utf8
hebrew

 

Offline

#6 2022-03-02 14:55:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Pages in non-latin languages not displaying correctly

Notice that en_us and en_US are not the same thing. Check your /etc/locale.conf.

Offline

#7 2022-03-02 15:38:04

PythonLinux
Member
Registered: 2021-06-25
Posts: 102

Re: Pages in non-latin languages not displaying correctly

I fixed /etc/locale.conf. It doesn't seem to have changed much.

Offline

#8 2022-03-02 15:43:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,063

Re: Pages in non-latin languages not displaying correctly

It will have changed the behavior of pango-view …

Offline

Board footer

Powered by FluxBB