Font Help Please!

Anyone know why I my glyphs are showing as Japanese/Chinese styled characters?

I’m getting:

When it should be:

image

Sublime text is suffering from the same issue. Emojis are also rendering incorrectly

Any ideas are appreciated.

Wow, looks like it s corrupted, but I might be wrong.

Are all other apps the same or just this one.

Is that in urxvt? Can you post the configuration? Does it also show up like that in the dwm topbar?

Not sure about Sublime text though, never used that. From which package did you install it?

Using the same font in terminal and sublime?
I had something similar happen when FontAwesome was broken after an upgrade.

Did you update your fonts ? Are they coming from official repos ?

That’s the config.h in sublime

Yes it does.

No different fonts.

Yes and yes.

I thought it could be a font package missing, so I have installed all the glyph fonts I can think of. I thought it could be Sublime Text but no same issue in Leafpad:

This is my font config, though I’m not sure if that has anything to do with it:

fonts.conf:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <alias>
  <family>Serif</family>
  <prefer>
   <family>DejaVu Serif</family>
  </prefer>
 </alias>
 <alias>
  <family>Sans-serif</family>
  <prefer>
   <family>DejaVu Sans</family>
  </prefer>
 </alias>
 <alias>
  <family>monospace</family>
  <prefer>
   <family>xos4 Terminus</family>
  </prefer>
 </alias>
 <dir>~/.fonts</dir>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>bgr</const>
  </edit>
 </match>
</fontconfig>

I’m really not understanding what is going on here.

Same issue in Vim

Actually guys. I’m going to close this one up.

Somethings not right. Thanks for all the help

Gonna re-open

@PackRat suggested checking my locale, which I have done:

LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en_GB:en
LC_CTYPE=en_NZ.UTF-8
LC_NUMERIC="en_NZ.UTF-8"
LC_TIME="en_NZ.UTF-8"
LC_COLLATE="en_NZ.UTF-8"
LC_MONETARY="en_NZ.UTF-8"
LC_MESSAGES="en_NZ.UTF-8"
LC_PAPER="en_NZ.UTF-8"
LC_NAME="en_NZ.UTF-8"
LC_ADDRESS="en_NZ.UTF-8"
LC_TELEPHONE="en_NZ.UTF-8"
LC_MEASUREMENT="en_NZ.UTF-8"
LC_IDENTIFICATION="en_NZ.UTF-8"
LC_ALL=

All looks as it should to me, can anyone else confirm please?

Issue resolved. Noto-Fonts-Emoji was the culprit.

Removing that font package did a couple of things

  • a) it removed the absolute gigantic emoji that were displaying in dunst and leafpad.
  • b) the Chinese/Japanese glyphs are now rendering correctly as they should.

:smiley:

EDIT: Sublime text isn’t quite displaying correctly but I am on the hunt for a new editor anyway.

2 Likes

Wow, top again @Dobbie03

1 Like

Emacs!

Maybe man, maybe, We shall see.

Why were you looking to replace sublime in the first place? After anything in particular in a text editor?

I don’t know, when I get bored I start looking around. Sublime suits me perfectly really.

It’s great. Unfortunately I can’t stand using a trial.

Yeah it is frustrating. I’d like to use Atom or VS Code but for some reason I have a real aversion to anything Electron.

1 Like

Atom looks excellent, but using it is infinite disappointment. Where there is no free IntelliJ IDE, I use Geany.