You are not logged in.

#1 2025-07-03 03:41:01

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

[SOLVED]Can't show any emoji

I can't see any emojis like ? or something
it just shows blank to me
i have installed these emoji fonts:

local/noto-fonts-emoji 1:2.048-1
    Google Noto Color Emoji font
local/ttf-twemoji 15.1.0-1
    Truetype builds of Twemoji; Twitter Color Emoji for everyone.

rebuilding the font caches doesn't work
changing DE or WM doesn't work either

in the "Characters" GNOME program,it shows nothing in any emoji pages
but you can still click on them and copy their unicode[the emoji at start is inputed through this method]

fastfetch:

                  -`                     dynamo@ArchLinux
                 .o+`                    ----------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Kernel: Linux 6.15.4-arch2-1
              `+oooooo:                  Uptime: 39 mins
              -+oooooo+:                 Packages: 2073 (pacman)
            `/:-:++oooo+:                Shell: zsh 5.9
           `/++++/+++++++:               Display (G223HQL): 1920x1080 @ 60 Hz in 22" [External]
          `/++++++++++++++:              Display (ME2488): 1920x1080 @ 75 Hz in 24" [External]
         `/+++ooooooooooooo/`            WM: Hyprland 0.49.0 (Wayland)
        ./ooosssso++osssssso+`           Theme: Fusion [Qt], adw-gtk3-dark [GTK2/3], Breeze-Dark [GTK4]
       .oossssso-````/ossssss+`          Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
      -osssssso.      :ssssssso.         Font: WenQuanYi Zen Hei (9pt, Regular) [Qt], Noto Sans (10pt) [GTK2/3/4]
     :osssssss/        osssso+++.        Cursor: default (24px)
    /ossssssss/        +ssssooo/-        Terminal: kitty 0.42.1
  `/ossssso+/:-        -:/+osssso+-      Terminal Font: SourceCodePro-Regular (11pt)
 `+sso+:-`                 `.-/+oso:     CPU: Intel(R) Core(TM) i5-6600K (4) @ 3.90 GHz
`++:.                           `-/+/    GPU: AMD Radeon RX Vega [Discrete]
.`                                 `/    Memory: 3.48 GiB / 15.55 GiB (22%)
                                         Swap: 0 B / 20.61 GiB (0%)
                                         Disk (/): 1.06 TiB / 1.41 TiB (75%) - btrfs
                                         Disk (/run/media/dynamo/Ventoy): 5.33 GiB / 29.26 GiB (18%) - exfat [External]
                                         Local IP (wlp6s0): 192.168.0.107/24
                                         Locale: zh_CN.UTF-8

Last edited by safe049 (2025-07-04 03:21:45)


命途跌宕也折了鋒芒

Offline

#2 2025-07-03 07:11:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,278

Re: [SOLVED]Can't show any emoji

I can't see any emojis like ?

The BBS filters wide utf8 glyphs (I think mostly to prevent homoglyph attacks), please reference the actual code point, eg. for the poop emoji ?  U+1F4A9
You can

printf "%x" \'λ # w/ λ standing in for a BBS compatible glyph

to get the code point and

fc-list :charset=1f4a9

to see that the poop emoji has surprisingly wide coverage…

Online

#3 2025-07-04 02:48:53

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

Re: [SOLVED]Can't show any emoji

it's grinning face
U+1F600
fc-list :charset=1f4a9:

/usr/share/fonts/adobe-source-code-pro/SourceCodePro-BlackIt.otf: Source Code Pro,Source Code Pro Black:style=Black Italic,Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Semibold
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-LightIt.otf: Source Code Pro,Source Code Pro Light:style=Light Italic,Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Medium
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Medium Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Bold.otf: Source Code Pro:style=Bold
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Regular.otf: Source Code Pro:style=Regular
/usr/share/fonts/TTF/Symbola.ttf: Symbola:style=Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Semibold Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Medium.otf: Source Code Pro,Source Code Pro Medium:style=Medium,Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Black
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-MediumIt.otf: Source Code Pro,Source Code Pro Medium:style=Medium Italic,Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Black Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Bold Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Light.otf: Source Code Pro,Source Code Pro Light:style=Light,Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Light Italic
/usr/share/fonts/twemoji/twemoji.ttf: Twemoji:style=Regular
/usr/share/fonts/TTF/fa-solid-900.ttf: Font Awesome 6 Free,Font Awesome 6 Free Solid:style=Solid
/usr/share/fonts/WindowsFonts/seguisym.ttf: Segoe UI Symbol:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF:style=Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Black.otf: Source Code Pro,Source Code Pro Black:style=Black,Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-ExtraLight.otf: Source Code Pro,Source Code Pro ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Bold
/usr/share/fonts/WindowsFonts/seguiemj.ttf: Segoe UI Emoji:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-BoldIt.otf: Source Code Pro:style=Bold Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-ExtraLightIt.otf: Source Code Pro,Source Code Pro ExtraLight:style=ExtraLight Italic,Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Italic.otf: SourceCodeVF
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-SemiboldIt.otf: Source Code Pro,Source Code Pro Semibold:style=Semibold Italic,Italic
/usr/share/fonts/adobe-source-code-pro/SourceCodeVF-Upright.otf: SourceCodeVF:style=Light
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-It.otf: Source Code Pro:style=Italic
/usr/share/fonts/noto/NotoColorEmoji.ttf: Noto Color Emoji:style=Regular
/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Semibold.otf: Source Code Pro,Source Code Pro Semibold:style=Semibold,Regular

i don't hella know with all those fonts,the poop emoji litreally just show blank

edit:
I edited a /etc/fonts/local.conf with these content:

[? Arch Linux]-[0]-[ dynamo]-[ ~] $ cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Twemoji</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Twemoji</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Twemoji</family>
    </prefer>
  </alias>
</fontconfig>

after fc-cache -fv,
the emoji can print in the terminal,but don't show in browser and characters or any apps yet
after reboot,it still only show in the terminal,not in browser and characters or any gui

EDIT2:
well the terminal can print emoji all the time,removing that local.conf also appears to be same

Last edited by safe049 (2025-07-04 03:06:32)


命途跌宕也折了鋒芒

Offline

#4 2025-07-04 03:21:24

safe049
Member
From: Shanxi,China
Registered: 2024-05-02
Posts: 117
Website

Re: [SOLVED]Can't show any emoji

Solved by setting fonts in GTK settings and QT settings
and recreate a new fonts.conf using QT settings
all using noto sans 10 for regular
and source code pro for mono
didn't explictly set the emoji font


命途跌宕也折了鋒芒

Offline

Board footer

Powered by FluxBB