You are not logged in.

#1 2018-08-05 05:43:55

possessedbysatan
Member
Registered: 2018-01-11
Posts: 16

[solved] Some unicode symbols showing as squares

Here's the thing: specifically full-width characters (example) and some other strange unicode symbols are showing up as squares with numbers inside. According to numerous threads, the problem can be easily solved by installing some fonts, such as dejavu/monospace fonts. Nothing seems to work for me.
I am using XFCE with some custom font, but I tried almost every font (monospace, dejavu, etc...) and the problem is still there.  The problem seems to be system-wide, even chrome can't display some characters.

I have tried everything in these threads to no avail:

https://bbs.archlinux.org/viewtopic.php?id=26241
https://bbs.archlinux.org/viewtopic.php?id=216572
https://bbs.archlinux.org/viewtopic.php … 53#p901053
https://bbs.archlinux.org/viewtopic.php?id=22099

List of all the mono fonts installed on my system (fc-list | grep Mono):

/usr/share/fonts/gsfonts/NimbusMonoPS-BoldItalic.otf: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/gsfonts/NimbusMonoPS-Regular.otf: Nimbus Mono PS:style=Regular
/home/endlessvoid/.local/share/fonts/LinLibertine_Mah.ttf: Linux Libertine Mono:style=Mono
/home/endlessvoid/.local/share/fonts/DroidSansMonoForPowerlinePlusNerdFileTypesMono.otf: Droid Sans Mono for Powerline Plus Nerd File Types Mono:style=Regular
/usr/share/fonts/gsfonts/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/gsfonts/NimbusMonoPS-Italic.otf: Nimbus Mono PS:style=Italic
/home/endlessvoid/.local/share/fonts/IBMPlexMono-Medium.ttf: IBM Plex Mono,IBM Plex Mono Medium:style=Medium,Regular
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique

locale output:

 
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=

Last edited by possessedbysatan (2018-08-05 11:56:29)

Offline

#2 2018-08-05 06:09:34

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [solved] Some unicode symbols showing as squares

Eg. "e" is resolved by only Osaka here.

FC_DEBUG=4 pango-view --font=monospace -t ☺ | grep family:
FC_DEBUG=4 pango-view --font=monospace -t e | grep family:

Offline

#3 2018-08-05 11:38:34

possessedbysatan
Member
Registered: 2018-01-11
Posts: 16

Re: [solved] Some unicode symbols showing as squares

Osaka where?

What am I supossed to do with the output of these commands' I ran both them and a lot (seriously a lot) of fonts are showing up in the verbose output. I don't have problems with the first command, it's just a smiley face. The second one just shows a square with numbers inside.
Here's a very truncated output of the second command:

 family: 1000  "Bitstream Vera Sans Mono"(w) "DejaVu Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier New"(w) "Cumberland AMT"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Nimbus Mono PS"(w) "Nimbus Mono"(w) "Nimbus Mono PS"(w) "Nimbus Mono PS"(w) "Courier"(w) "Nimbus Mono"(w) "Nimbus Mono L"(w) "Nimbus Mono PS"(w) "Miriam Mono"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "MS Gothic"(w) "UmePlus Gothic"(w) "NSimSun"(w) "MingLiu"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung Mono"(w) "HanyiSong"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "ZYSong18030"(w) "NanumGothicCoding"(w) "NanumGothic"(w) "UnDotum"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "TlwgTypo"(w) "TlwgTypist"(w) "TlwgTypewriter"(w) "TlwgMono"(w) "Hasida"(w) "Mitra Mono"(w) "GF Zemen Unicode"(w) "Hapax Berbère"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "Nimbus Mono PS"(w) "FreeMono"(w) "monospace"(s) "Terafik"(w) "monospace"(w) "Courier"(w) "Courier"(w) "Courier"(w),  "Adobe Times"(w)
	family: "Adobe Times"(w)

EDIT: Just found the solution after googling for 2-3 pages. Here you can find it: https://bbs.archlinux.org/viewtopic.php … 4#p1462574
It's really weird because I already had a lot of monospace fonts, but for some reason I also needed

 ttf-liberation ttf-droid 

Anyway, thanks for your time, seth.

Last edited by possessedbysatan (2018-08-05 11:56:05)

Offline

#4 2018-08-05 12:39:23

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [solved] Some unicode symbols showing as squares

Osaka is a font, those glyphs do not seem very common.
For the record, you're supposed to post complete outputs, not some excerpt (it would not have helped much)

Offline

Board footer

Powered by FluxBB