You are not logged in.

#1 2024-05-02 10:18:03

Swarfega
Member
Registered: 2011-08-19
Posts: 104

[SOLVED] Animated text in the console. Am I missing a font?

When I use docker-compose in the console, the green and orange parts of this image are normally animate similar to a progress bar but the green parts grow down to up.  The orange normally spins around. However, on my Arch install they are static. 
How do I get these to animate, please?

eSZAvI9.jpeg

Last edited by Swarfega (2024-05-02 15:21:26)

Offline

#2 2024-05-02 13:57:24

seth
Member
Registered: 2012-09-03
Posts: 52,199

Re: [SOLVED] Animated text in the console. Am I missing a font?

There're no animated glpyhs, what's common is to abuse the braille glyphs and just cycle through a bunch of them.
https://en.wikipedia.org/wiki/Braille_Patterns
The might look differently depending where they're resolved from (and despite the abysmal quality of that screenshot it somewhat looks like yours use complete boxes, some of them might be filled and others hollow)

=> What monospace font do you use in konsole?

Offline

#3 2024-05-02 14:03:44

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 63

Re: [SOLVED] Animated text in the console. Am I missing a font?

The characters look like it can't find the correct font to use. I had a similar issue in bashtop where is uses Braille characters to animate CPU usage.

I'm sure it could have been solved with some fontconfig adjustments, but for me I had to remove gnu-free-fonts, the noto fonts worked fine with it and everything else I use.

What font packages do you have installed? Also worth noting that there is a limit on qt for 255 fonts, if you have more and the one you need to use is beyond that threshold you'd need to add a fallback or prefer entry for it: (see the note in this section: https://wiki.archlinux.org/title/Fonts# … nd_symbols)


Ryzen 7 1800X | AMD 7800XT | KDE Plasma
I can't wait to play my favourite game, wine64-preloader.

Offline

#4 2024-05-02 14:28:16

Swarfega
Member
Registered: 2011-08-19
Posts: 104

Re: [SOLVED] Animated text in the console. Am I missing a font?

I can't see in konsole which font it's using?

There are lots of "noto" fonts if I use fc-list

[me@Arch ~]$ pacman -Q | grep font
adobe-source-code-pro-fonts 2.042u+1.062i+1.026vf-1
cantarell-fonts 1:0.303.1-1
fontconfig 2:2.15.0-2
gnu-free-fonts 20120503-8
libfontenc 1.1.8-1
libxfont2 2.0.6-2
noto-fonts 1:24.5.1-1
noto-fonts-cjk 20230817-1
noto-fonts-emoji 1:2.042-1
noto-fonts-extra 1:24.5.1-1
xorg-fonts-encodings 1.1.0-1

Last edited by Swarfega (2024-05-02 14:33:22)

Offline

#5 2024-05-02 14:30:26

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 63

Re: [SOLVED] Animated text in the console. Am I missing a font?

Try uninstalling gnu-free-fonts, reboot and see if that sorts it out, you can always reinstall it afterwards if it doesn't fix it, and you want to use it.


Ryzen 7 1800X | AMD 7800XT | KDE Plasma
I can't wait to play my favourite game, wine64-preloader.

Offline

#6 2024-05-02 14:31:47

Swarfega
Member
Registered: 2011-08-19
Posts: 104

Re: [SOLVED] Animated text in the console. Am I missing a font?

Nikolai5 wrote:

Try uninstalling gnu-free-fonts, reboot and see if that sorts it out, you can always reinstall it afterwards if it doesn't fix it, and you want to use it.

Just tried it and it works! Great find. Thank you!

Offline

#7 2024-05-02 14:43:24

seth
Member
Registered: 2012-09-03
Posts: 52,199

Re: [SOLVED] Animated text in the console. Am I missing a font?

Ftr,

I can't see in konsole which font it's using?

yes, in the konsole settings.
The default monospace font can be queried

fc-match monospace

pacman -Q | grep font

To list all fonts

fc-list

The problem w/ gnu-free-fonts (which you've apparently been using) is that their braille glyphs look like this:
XXec.png

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#8 2024-05-02 15:24:09

Swarfega
Member
Registered: 2011-08-19
Posts: 104

Re: [SOLVED] Animated text in the console. Am I missing a font?

I am using the default profile in konsole, which can't be edited. So when creating a new profile, I can see there's an option to change the font.  It is currently set to "Hack 10pt" so I assume that's what the default profile is using.
Thanks for the info. Much appreciated.

Offline

Board footer

Powered by FluxBB