You are not logged in.

#1 2023-10-09 16:24:59

DrejT
Member
Registered: 2023-10-08
Posts: 6

[SOLVED] Emojis not rendering in rxvt-unicode

https://ibb.co/G0TnhSm
The font is able to render only one emoji and not the others.
can someone please tell me where the  problem is
my .Xresources

!!!!!!! urxvt settings !!!!!!!

! Specifies the terminal type name to be set in the TERM environment variable
!! URxvt*termName:  rxvt-unicode

!! URxvt.geometry: 80x-1

! Start as a login shell by prepending a - to argv[0] of the shell. Again, for tmux, this is super-helpful and causes your bash login files like ~/.bash_profile to be loaded.
URxvt*loginShell:  true

! True: scroll to bottom when a non-special key pressed. Special keys are those which are intercepted by rxvt for special handling andnt passed onto the shell
URxvt*scrollTtyKeypress:  true  

! Do not scroll to bottom when tty receives output
URxvt*scrollTtyOutput:  false

! Do not scroll with scrollback buffer when tty recieves new lines, adds some speed.
URxvt*scrollWithBuffer:  false

! Disable the scrollbar.
URxvt*scrollBar:  false

! Fade the text by the given percentage when focus is lost.
URxvt*fading: 30

! Use the specified colour as the windows background colour [default White].
URxvt*background:  [70]Black

! Use the specified colour as the windows foreground colour [default Black].
URxvt*foreground:  White

! Use the specified colour to disp1ay underlined characters when the foreground colour is the default.
URxvt*colorUL:  yellow

URxvt*saveline: 2048

! special
! URxvt.background: #24273A
! URxvt.foreground: #CAD3F5
URxvt.cursorColor: #F4DBD6

! black
URxvt.color0: #494D64
URxvt.color8: #5B6078

! red
URxvt.color1: #ED8796
URxvt.color9: #ED8796

! green
URxvt.color2: #A6DA95
URxvt.color10: #A6DA95

! yellow
URxvt.color3: #EED49F
URxvt.color11: #EED49F

! blue
URxvt.color4: #8AADF4
URxvt.color12: #8AADF4

! magenta
URxvt.color5: #F5BDE6
URxvt.color13: #F5BDE6

! cyan
URxvt.color6: #8BD5CA
URxvt.color14: #8BD5CA

! white
URxvt.color7: #B8C0E0
URxvt.color15: #A5ADCB

!! URxvt Appearance
URxvt.letterSpace:0
URxvt.lineSpace:0
!! Rxvt.geometry: 400x400
URxvt.internalBorder: 10
URxvt.cursorBlink: true
URxvt.cursorUnderline: false
URxvt.scrollBar: false
Rxvt.scrollBar_right: false
!URxvt.urgentOnBell: true
URxvt.iso14755:        false
URxvt.iso14755_52:     false

URxvt.copyCommand: xclip -i -selection clipboard 
URxvt.pasteCommand: xclip -o -selection clipboard

! Font
URxvt.font: 	xft:FiraCode Nerd Font Mono:style=Regular:size=16,\
				xft:FiraCode Nerd Font Mono,FiraCode Nerd Font Mono Ret:style=Retina,Regular,\
				xft:Noto Color Emoji:style=Regular:size=9

!! xft:FiraCode Nerd Font Mono:style=Regular:size=13,\
				
URxvt.boldFont: xft:FiraCode Nerd Font Mono:style=Bold

! URxvt.italicFont: xft 
URxvt.depth: 32

xft.skipBuiltinGlyphs: true
!! Xft.autohint:false
!Xft.antialias: true
Xft.rgba: rgb
!! Xft.hinting: true
!! Xft.lcdfilter:  lcddefault
URxvt.intensityStyles:true


!!!!!!! extensions !!!!!!!
URxvt.perl-ext-common: font-size
URxvt.keysym.C-Up:     font-size:increase
URxvt.keysym.C-Down:   font-size:decrease
URxvt.keysym.C-S-Up:   font-size:incglobal
URxvt.keysym.C-S-Down: font-size:decglobal
URxvt.keysym.C-equal:  font-size:reset
URxvt.keysym.C-slash:  font-size:show

edit:
grammar

Last edited by DrejT (2023-10-11 12:28:38)

Offline

#2 2023-10-09 16:35:07

DrejT
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED] Emojis not rendering in rxvt-unicode

⚡67% ? 21:59:53 ➜ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

~
⚡67% ? 21:59:55 ➜ locale -a
C
C.utf8
en_US.utf8
POSIX

Offline

#3 2023-10-09 17:03:21

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

Re: [SOLVED] Emojis not rendering in rxvt-unicode

What the utf-8 codepoint of the clock icon in question?
https://www.compart.com/en/unicode/U+1F551 ?

fc-list :charset=1F551

Offline

#4 2023-10-10 01:00:28

DrejT
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED] Emojis not rendering in rxvt-unicode

yep thats the clock

⚡64% ? 05:54:09 ➜ fc-list :charset=1F551
/usr/share/fonts/noto/NotoSansSymbols2-Regular.ttf: Noto Sans Symbols 2:style=Regular
/usr/share/fonts/noto/NotoColorEmoji.ttf: Noto Color Emoji:style=Regular

also i updated my fonts to include both the emoji fonts but still the same results: https://ibb.co/8gYrwVW

URxvt.font: 	xft:FiraCode Nerd Font Mono:style=Regular:size=16,\
 				xft:FiraCode Nerd Font Mono,FiraCode Nerd Font Mono Ret:style=Retina,Regular:size=16,\
				xft:Noto Color Emoji:style=Regular:size=9,\
				xft:Noto Sans Symbols 2:style=Regular:size=9

!! xft:FiraCode Nerd Font Mono:style=Regular:size=13,\

also, the terminal in the background is gnome-shell
and i dont have a .xinitrc

Offline

#5 2023-10-10 01:18:25

DrejT
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED] Emojis not rendering in rxvt-unicode

Hey, after posting the above reply I included another font Nerd Symbols and now the clock is rendering : https://ibb.co/MPnVJn9

URxvt.font: 	xft:FiraCode Nerd Font Mono:style=Regular:size=16,\
                        xft:FiraCode Nerd Font Mono,FiraCode Nerd Font Mono Ret:style=Retina,Regular:size=13,\
 		        xft:Noto Sans Symbols:style=Regular:size=9,\
			xft:Noto Sans Symbols 2:style=Regular:size=9,\
			xft:Noto Color Emoji:style=Regular:size=9

!! xft:FiraCode Nerd Font Mono:style=Regular:size=13,\		
URxvt.boldFont: xft:FiraCode Nerd Font Mono:style=Bold

Offline

#6 2023-10-10 06:48:18

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

Re: [SOLVED] Emojis not rendering in rxvt-unicode

nb. that the utf-8 codepoint was some semi-informed guess, idk what emoji you actually put there and it might very well be out of a private sector that only is covered by that specific Nerd font.
Another common pitfall w/ the default urxvt version (the one in the repos) is that it's picky about the glyph sizes, https://aur.archlinux.org/packages/rxvt … ide-glyphs

Edit: 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.

Last edited by seth (2023-10-10 06:48:33)

Offline

#7 2023-10-10 17:27:32

DrejT
Member
Registered: 2023-10-08
Posts: 6

Re: [SOLVED] Emojis not rendering in rxvt-unicode

this issue is most likely because of my usage of some random chars that i copied from the internet
rxvt-unicode works fine for me, I ran a bash script from https://stackoverflow.com/questions/602 … er-in-bash and it prints out as expected no squares
will just edit my starship.toml file
Thank you for your help.

edit: how do i mark it as solved?

Last edited by DrejT (2023-10-10 17:29:16)

Offline

#8 2023-10-10 19:35:05

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

Re: [SOLVED] Emojis not rendering in rxvt-unicode

seth wrote:

mark resolved threads by editing your initial posts subject

Offline

Board footer

Powered by FluxBB