Skip to content

[BUG] font info not correct #1864

@ziyouchutuwenwu

Description

@ziyouchutuwenwu

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

font info not correct, it should be "文泉驿等宽微米黑 (10pt)",but the output is "\x6587\x6cc9\x9a7f\x7b49\x5bbd\x5fae\x7c73\x9ed1 (10pt) [Qt], 文泉驿等宽微米黑 (10pt) [GTK2/3/4]"

Version used

fastfetch 2.48.0 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

pacman

Screenshots

Image

Configuration

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "modules": [
    "title",
    "separator",
    "os",
    "host",
    "kernel",
    "uptime",
    "packages",
    "shell",
    "display",
    "de",
    "wm",
    "wmtheme",
    "theme",
    "icons",
    "font",
    "cursor",
    "terminal",
    "terminalfont",
    "cpu",
    "gpu",
    "memory",
    "swap",
    "disk",
    "localip",
    "battery",
    "poweradapter",
    "locale",
    "break",
    "colors"
  ]
}

System information

$ fastfetch -c all.jsonc --stat --format json
[
  {
    "type": "Title",
    "result": {
      "userName": "mmc",
      "fullUserName": "mmc",
      "hostName": "manjaro",
      "homeDir": "/home/mmc/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/usr/bin/zsh"
    },
    "stat": 0.006078001111745834
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.00023499876260757446
  },
  {
    "type": "OS",
    "result": {
      "buildID": "rolling",
      "codename": "Zetar",
      "id": "manjaro",
      "idLike": "arch",
      "name": "Manjaro Linux",
      "prettyName": "Manjaro Linux",
      "variant": "",
      "variantID": "",
      "version": "25.0.6",
      "versionID": ""
    },
    "stat": 0.02105100080370903
  },
  {
    "type": "Host",
    "result": {
      "family": "103C_53307F HP ProDesk",
      "name": "HP ProDesk 480 G6 MT",
      "version": "",
      "sku": "3Q027AV",
      "vendor": "HP",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.06290999799966812
  },
  {
    "type": "BIOS",
    "result": {
      "date": "12/23/2019",
      "release": "4.1",
      "vendor": "HP",
      "version": "R03 Ver. 02.04.01",
      "type": "UEFI"
    },
    "stat": 0.031132999807596207
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "Manjaro",
      "firmware": "\\EFI\\Manjaro\\grubx64.efi",
      "order": 5,
      "secureBoot": false
    },
    "stat": 1.618232998996973
  },
  {
    "type": "Board",
    "result": {
      "name": "859A",
      "vendor": "HP",
      "version": "KBC Version 08.95.00",
      "serial": ""
    },
    "stat": 0.058619000017642975
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Desktop",
      "vendor": "HP",
      "version": "",
      "serial": ""
    },
    "stat": 0.047345999628305435
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.12.39-1-MANJARO",
      "version": "#1 SMP PREEMPT_DYNAMIC Thu, 17 Jul 2025 20:46:35 +0000",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.004654001444578171
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "257.7-1-manjaro",
      "pid": 1
    },
    "stat": 0.25924399867653847
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 18155690,
      "bootTime": "2025-07-23T08:49:22.080+0800"
    },
    "stat": 0.025433000177145004
  },
  {
    "type": "Loadavg",
    "result": [
      0.28,
      0.62,
      0.6
    ],
    "stat": 0.008079998195171356
  },
  {
    "type": "Processes",
    "result": 261,
    "stat": 0.2181209996342659
  },
  {
    "type": "Packages",
    "result": {
      "all": 1409,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 1409,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "qi": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 0,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": "stable"
    },
    "stat": 0.47045299783349037
  },
  {
    "type": "Shell",
    "result": {
      "exe": "/usr/bin/zsh",
      "exeName": "zsh",
      "exePath": "/usr/bin/zsh",
      "pid": 14840,
      "ppid": 14833,
      "processName": "zsh",
      "prettyName": "zsh",
      "version": "5.9",
      "tty": 1
    },
    "stat": 0.05750900134444237
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.0008330009877681732
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 0,
        "name": "TE24-10",
        "primary": false,
        "output": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 60.0
        },
        "scaled": {
          "width": 1920,
          "height": 1080
        },
        "preferred": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 60.0
        },
        "physical": {
          "width": 476,
          "height": 267
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "External",
        "manufactureDate": {
          "year": 2020,
          "week": 38
        },
        "serial": null,
        "platformApi": "xcb-randr-crtc"
      }
    ],
    "stat": 0.961462002247572
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 0.16821900010108948
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0005040019750595093
  },
  {
    "type": "LM",
    "result": {
      "service": "lightdm",
      "type": "X11",
      "version": "1.32.0"
    },
    "stat": 2.138409998267889
  },
  {
    "type": "DE",
    "result": {
      "processName": "xfce4-session",
      "prettyName": "Xfce4",
      "version": "4.20"
    },
    "stat": 0.819157999008894
  },
  {
    "type": "WM",
    "result": {
      "processName": "Xfwm4",
      "prettyName": "Xfwm4",
      "protocolName": "X11",
      "pluginName": "",
      "version": ""
    },
    "stat": 0.0010899975895881653
  },
  {
    "type": "WMTheme",
    "result": "JacWin10",
    "stat": 2.3731199987232685
  },
  {
    "type": "Theme",
    "result": {
      "theme1": "Fusion [Qt]",
      "theme2": "Windows10 [GTK2/3/4]"
    },
    "stat": 1.4054660014808178
  },
  {
    "type": "Icons",
    "result": {
      "icons1": "Papirus-Maia [Qt]",
      "icons2": "Faenza [GTK2/3/4]"
    },
    "stat": 0.0007809996604919434
  },
  {
    "type": "Font",
    "result": {
      "display": "\\x6587\\x6cc9\\x9a7f\\x7b49\\x5bbd\\x5fae\\x7c73\\x9ed1 (10pt) [Qt], 文泉驿等宽微米黑 (10pt) [GTK2/3/4]",
      "fonts": [
        "\\x6587\\x6cc9\\x9a7f\\x7b49\\x5bbd\\x5fae\\x7c73\\x9ed1 (10pt)",
        "文泉驿等宽微米黑 (10pt)",
        "文泉驿等宽微米黑 (10pt)",
        "文泉驿等宽微米黑 (10pt)"
      ]
    },
    "stat": 0.005869999527931213
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Vanilla-DMZ-AA",
      "size": ""
    },
    "stat": 0.0009829998016357422
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.00042499974370002747
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "terminator",
      "exe": "/usr/bin/python",
      "exeName": "python",
      "exePath": "/usr/bin/python3.13",
      "pid": 14833,
      "ppid": 1,
      "prettyName": "terminator",
      "version": "3.13.5",
      "tty": "/dev/pts/1"
    },
    "stat": 1.1523070000112057
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "Monaco",
        "size": "11",
        "styles": [],
        "pretty": "Monaco (11pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 0.015666000545024872
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 211,
      "rows": 49,
      "width": 1899,
      "height": 980
    },
    "stat": 0.13637899979948997
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 170,
        "g": 170,
        "b": 170,
        "dark": false
      },
      "bg": {
        "r": 0,
        "g": 0,
        "b": 0,
        "dark": true
      }
    },
    "stat": 17.24940799921751
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Intel(R) Core(TM) i5-9500",
      "vendor": "GenuineIntel",
      "packages": 1,
      "cores": {
        "physical": 6,
        "logical": 6,
        "online": 6
      },
      "frequency": {
        "base": 3000,
        "max": 4400
      },
      "coreTypes": [
        {
          "count": 6,
          "freq": 3000
        }
      ],
      "temperature": 32.0
    },
    "stat": 3.7420810014009476
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 32768,
          "num": 6,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 6,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 262144,
          "num": 6,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 9437184,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 1.1228049993515015
  },
  {
    "type": "CPUUsage",
    "result": [
      9.523809523809524,
      0.0,
      9.090909090909092,
      5.0,
      5.0,
      5.0
    ],
    "stat": 200.29667199775577
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": 24,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": 0,
            "used": 0
          },
          "shared": {
            "total": 33488195584,
            "used": 0
          },
          "type": null
        },
        "driver": "i915",
        "name": "UHD Graphics 630",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Intel",
        "platformApi": "DRM (card1)",
        "frequency": 1100,
        "deviceId": 20
      }
    ],
    "stat": 5.232778001576662
  },
  {
    "type": "Memory",
    "result": {
      "total": 33488195584,
      "used": 3064303616
    },
    "stat": 0.02977600321173668
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.009425997734069824
  },
  {
    "type": "Swap",
    "result": [],
    "stat": 0.005841001868247986
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 188235161600,
          "free": 201038749696,
          "total": 250584948736,
          "used": 49546199040
        },
        "files": {
          "total": 15613952,
          "used": 796385
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/nvme0n1p2",
        "name": "root",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2025-05-20T13:12:04.000+0800"
      },
      {
        "bytes": {
          "available": 313638912,
          "free": 313638912,
          "total": 313942016,
          "used": 303104
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot/efi",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": null
      },
      {
        "bytes": {
          "available": 655400566784,
          "free": 700662337536,
          "total": 983343779840,
          "used": 282681442304
        },
        "files": {
          "total": 61046784,
          "used": 200344
        },
        "filesystem": "ext4",
        "mountpoint": "/mnt/sda",
        "mountFrom": "/dev/sda2",
        "name": "Basic data partition",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-03-13T10:48:22.000+0800"
      }
    ],
    "stat": 0.20295700058341026
  },
  {
    "type": "Btrfs",
    "error": "opendir(\"/sys/fs/btrfs\") == NULL",
    "stat": 0.003793001174926758
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.15655500069260597
  },
  {
    "type": "Battery",
    "result": [],
    "stat": 0.007265999913215637
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.004861999303102493
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.00019399821758270264
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 1.1362759992480278
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "218.90.174.147",
      "location": "Shanghai, CN"
    },
    "stat": 199.9034879989922
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "wlp3s0",
        "defaultRoute": true,
        "ipv4": "192.168.61.32/23",
        "ipv6": "fe80::2c75:d5f2:5098:d891/64",
        "mac": "4c:eb:bd:97:05:73",
        "mtu": 1500,
        "speed": -1,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.39888500049710274
  },
  {
    "type": "DNS",
    "result": [
      "127.0.0.1",
      "192.168.9.253",
      "192.168.9.153",
      "221.228.255.1",
      "221.6.4.66"
    ],
    "stat": 0.06390399858355522
  },
  {
    "type": "Wifi",
    "result": [
      {
        "inf": {
          "description": "wlp3s0",
          "status": "up"
        },
        "conn": {
          "status": "connected",
          "ssid": "TEST",
          "bssid": "40:EE:DD:5B:B2:70",
          "protocol": "802.11ac (Wi-Fi 5)",
          "security": "WPA/WPA2",
          "signalQuality": 100.0,
          "rxRate": 78.0,
          "txRate": 96.3,
          "channel": 157,
          "frequency": 5785
        }
      }
    ],
    "stat": 8.978927001357079
  },
  {
    "type": "DateTime",
    "result": "2025-07-23T13:51:58.219+0800",
    "stat": 0.036423999816179276
  },
  {
    "type": "Locale",
    "result": "zh_CN.utf8",
    "stat": 0.0046980008482933044
  },
  {
    "type": "Vulkan",
    "error": "ffvkEnumeratePhysicalDevices() failed: VK_ERROR_INITIALIZATION_FAILED",
    "stat": 51.166735999286175
  },
  {
    "type": "OpenGL",
    "error": "Fastfetch was built without gl support.",
    "stat": 0.0010249987244606018
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
    "stat": 0.13983099907636642
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "mmc",
        "hostName": ":0",
        "sessionName": "tty7",
        "clientIp": "",
        "loginTime": "2025-07-23T08:49:38.623+0800"
      }
    ],
    "stat": 0.04790499806404114
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.010791998356580734
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
        "name": "manjaro",
        "address": "4C:EB:BD:97:05:74",
        "lmpVersion": 8,
        "lmpSubversion": null,
        "vendor": "Unknown",
        "enabled": false,
        "discoverable": false,
        "connectable": false
      }
    ],
    "stat": 0.34130600094795227
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 0,
        "name": "内置音频 模拟立体声",
        "identifier": "alsa_output.pci-0000_00_1f.3.analog-stereo",
        "platformApi": "PipeWire 1.4.6"
      }
    ],
    "stat": 3.847283001989126
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.007034000009298325
  },
  {
    "type": "Gamepad",
    "result": [
      {
        "serial": "",
        "name": "LiteOn Lenovo Traditional USB Keyboard Consumer Control"
      }
    ],
    "stat": 0.07642800360918045
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "",
        "name": "PixArt HP USB Optical Mouse"
      }
    ],
    "stat": 0.04157499969005585
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "",
        "name": "LiteOn Lenovo Traditional USB Keyboard"
      }
    ],
    "stat": 0.04593700170516968
  },
  {
    "type": "Weather",
    "result": "+29°C - Sunny (Nanjing, China)",
    "stat": 0.03516799956560135
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "wlp3s0",
        "defaultRoute": true,
        "txBytes": 1111,
        "rxBytes": 6133,
        "txPackets": 9,
        "rxPackets": 45,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 2,
        "txDrops": 0
      }
    ],
    "stat": 493.3952530026436
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "UMIS LENSE40256GMSP34MESTB3A",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 282624,
        "bytesWritten": 258048,
        "readCount": 4,
        "writeCount": 31
      },
      {
        "name": "ATA TOSHIBA DT01ACA1",
        "devPath": "/dev/sda",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      }
    ],
    "stat": 0.29927999898791313
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "UMIS LENSE40256GMSP34MESTB3A",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 256060514304,
        "serial": "SS0L25152X3RC06X36NF",
        "removable": false,
        "readOnly": false,
        "revision": "2.3.7182",
        "temperature": 35.85
      },
      {
        "name": "ATA TOSHIBA DT01ACA1",
        "devPath": "/dev/sda",
        "interconnect": "ATA",
        "kind": "HDD",
        "size": 1000204886016,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "A8L0",
        "temperature": null
      }
    ],
    "stat": 3.8674639984965324
  },
  {
    "type": "TPM",
    "error": "TPM device is not found",
    "stat": 0.021435000002384186
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.48.0",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Jul 16 2025, 12:24:09",
      "compiler": "gcc 15.1.1",
      "debugMode": false,
      "libc": "glibc 2.41"
    },
    "stat": 0.0020929984748363495
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0009759999811649323
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0008340030908584595
  }
]

Features built-in

$ fastfetch --list-features
threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
System yyjson
linux/videodev2
linux/wireless

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions