fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
10k stars 398 forks source link

Alacritty font size missing #197

Closed DarNCelsius closed 2 years ago

DarNCelsius commented 2 years ago

General description of bug:

Font size missing from Alacritty terminal font. multibug

Often helpful questions:

Output of fastfetch --version:

fastfetch 1.5.6-20

Output of fastfetch --load-config devinfo-verbose:

╰─ fastfetch --load-config devinfo-verbose
██████████████████  ████████    darn@manjaro
██████████████████  ████████    ------------
██████████████████  ████████    OS: System: Linux; Name: Manjaro Linux; Pretty name: Manjaro Linux; ID: manjaro; ID like: arch; Variant: ; Variant ID: ; Version: ; Version ID: ; Version codename: ; Build ID: rolling; Architecture: x86_64
██████████████████  ████████    Host: Family: "product_family: X570 MB; product_name: X570 AORUS MASTER; product_version: -CF; product_sku: ; bios_date: 10/13/2021; bios_release: 5.17; bios_vendor: American Megatrends International, LLC.; bios_version: F35e; board_name: X570 AORUS MASTER; board_vendor: Gigabyte Technology Co., Ltd.; board_version: ; chassis_type: 3; chassis_vendor: ; chassis_version: ; sys_vendor: Gigabyte Technology Co., Ltd.
████████  ████████  ████████    Kernel: Sysname: Linux; Release: 5.18.12-3-MANJARO; Version: #1 SMP PREEMPT_DYNAMIC Sun Jul 17 14:33:15 UTC 2022
████████  ████████  ████████    Uptime: Days: 0; Hours: 2; Minutes: 4; Seconds: 49
████████  ████████  ████████    Processes: Count: 1721
████████  ████████  ████████    Packages: All: 1791; pacman: 1791; pacman branch: stable; dpkg: 0; rpm: 0; emerge: 0; xbps: 0; flatpak: 0; snap: 0
████████  ████████  ████████    Shell: Process name: zsh; Process path: /usr/bin/zsh; Process exe: zsh; Process version: 5.9; User path: /usr/bin/zsh; User exe: zsh; User version: 5.9
████████  ████████  ████████    Resolution 1: Width: 2560; Height: 1440; Refresh rate: 240
████████  ████████  ████████    Resolution 2: Width: 2560; Height: 1440; Refresh rate: 60
████████  ████████  ████████    Resolution 3: Width: 2560; Height: 1440; Refresh rate: 120
████████  ████████  ████████    DE: Process name: cinnamon; Pretty name: Cinnamon; Version: 5.4.2
                                WM: Process name: Mutter; Pretty name: Mutter; Protocol: X11
                                WM Theme: Name: Matcha-dark-azul
                                Theme: Plasma: ; Plasma colors: ; Plasma colors pretty: ; GTK2: Matcha-dark-azul; GTK3: Matcha-dark-azul; GTK4: Matcha-dark-azul; GTK: Matcha-dark-azul [GTK2/3/4]
                                Icons: Plasma: ; GTK2: Papirus-Dark; GTK3: Papirus-Dark; GTK4: Papirus-Dark; GTK: Papirus-Dark [GTK2/3/4]
                                Font: Plasma raw: ; Plasma name: ; Plasma size: ; Plasma styles: ; Plasma pretty: ; GTK2 raw: DejaVu Sans,  9; GTK2 name: DejaVu Sans; GTK2 size: 9; GTK2 styles: ; GTK2 pretty: DejaVu Sans (9pt); GTK3 raw: DejaVu Sans,  9; GTK3 name: DejaVu Sans; GTK3 size: 9; GTK3 styles: ; GTK3 pretty: DejaVu Sans (9pt); GTK4 raw: DejaVu Sans,  9; GTK4 name: DejaVu Sans; GTK4 size: 9; GTK4 styles: ; GTK4 pretty: DejaVu Sans (9pt); GTK: DejaVu Sans (9pt) [GTK2/3/4]
                                Cursor: Theme: breeze; Size: 24
                                Terminal: Process: alacritty; Path: alacritty; Exe: alacritty
                                Terminal Font: Raw: Droid Sans Mono; Name: Droid Sans Mono; Size: 10.0; Styles: ; Pretty: Droid Sans Mono
                                CPU: Name: AMD Ryzen 7 3800X 8-Core Processor; Pretty: AMD Ryzen 7 3800X; Vendor: AuthenticAMD; Logical online: 16; Logical configured: 16; Physical: 8; Cores: 16; temperature: 40.5; bios: 0; scaling max: 4.56; scaling min: 0.55; info max: 4.56; info min: 0.5; cpuinfo: 0.55; frequency: 4.56
                                GPU: Vendor: Advanced Micro Devices, Inc. [AMD/ATI]; Vendor pretty: AMD ATI; Name: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]; Name pretty: Radeon RX 6800/6800 XT / 6900 XT; Driver: amdgpu; Temperature: 34
                                Memory: Used: 4943; Total: 15919; Percentage: 31
                                Disk (/): Used: 42; Total: 68; Files: 1166462; Percentage: 61
                                Disk (/home): Used: 136; Total: 177; Files: 375784; Percentage: 76
                                Battery: /sys/class/power_supply/ doesn't contain any battery folder
                                Media Player: No media player found
                                Song: No song detected
                                Public IP: XXX.XXX.XXX.25
                                Local IP (enp5s0): 192.168.1.7
                                Date & Time: year: 2022; yearShort: 22; month: 7; monthPretty: 07; monthName: July; monthNameShort: Jul; weekNumber: 29; weekday: Wednesday; weekdayShort: Wed; dayInYear: 201; dayInMonth: 20; dayInWeek: 3; hour: 12; hourPretty: 12; hour12: 0; hour12Pretty: 12; minute: 13; minutePretty: 13; second: 22; secondPretty: 22
                                Locale: en_US.UTF-8
                                Vulkan: driver: radv [Mesa 22.1.3]; Api Version: 1.3.211; Conformance Version: 1.3
                                OpenGL: version: 4.6 (Compatibility Profile) Mesa 22.1.3; renderer: AMD Radeon RX 6800 XT (sienna_cichlid, LLVM 14.0.6, DRM 3.46, 5.18.12-3-MANJARO); vendor: AMD
                                OpenCL: version: OpenCL 1.1 Mesa 22.1.3; device: AMD Radeon RX 6800 XT (sienna_cichlid, LLVM 14.0.6, DRM 3.46, 5.18.12-3-MANJARO); vendor: AMD

                                ████████████████████████
                                ████████████████████████

Output of fastfetch --list-features:

libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
osmesa
opencl
LinusDierheimer commented 2 years ago

@x-zvf

x-zvf commented 2 years ago

This is expected behaviour, as the default format for fastfetch does not show font sizes. If you use fastfetch --load-config neofetch for example, it will display the font size aswell. If you want to have font size shown, edit your preset.

Though it may be a good Idea to show font size per default.

x-zvf commented 2 years ago

You can see in the debug output, that the font size is parsed correctly:

  Terminal Font: Raw: Droid Sans Mono; Name: Droid Sans Mono; Size: 10.0; Styles: ; Pretty: Droid Sans Mono
DarNCelsius commented 2 years ago

Ah. I never noticed the default was off. Should definitely be on IMO.

edit: It defaulted to ON before at some point.

DarNCelsius commented 2 years ago

Reopening this as it seems the default is actually on.

Here's the output in other emulators:

Terminal: tilix
Terminal Font: Droid Sans Mono (10pt)
Terminal: xfce4-terminal
Terminal Font: Droid Sans Mono (10pt)

I have not changed anything format-wise.

LinusDierheimer commented 2 years ago

This should be working now.

DarNCelsius commented 2 years ago

Confirmed. Is the extra precision intended?

Terminal: alacritty
Terminal Font: Droid Sans Mono (10.0pt)
LinusDierheimer commented 2 years ago

It is probably set that way in your config file, because i never parse it. It is directly copied.