You are not logged in.

#1 2016-08-06 22:42:07

FoxzTrot
Member
Registered: 2014-02-20
Posts: 20

rxvt-unicode not displaying unicode (braille) characters.

Hey, I'm trying to use drawille/tplot to generate images in a terminal using braille characters. I typically use URxvt with the Terminus font, which contains the proper characters, however URxvt won't display them, and I only get typical boxes.

My locale seems to be set up properly:

[~]── ─ 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=

Also, if if I try to use braille characters within termite, everything works properly, indicating that the issue really is with URxvt. Any ideas?

URxvt config in case it helps:

! Text Color Scheme
#include "/home/fox/.config/colors/currentScheme"

! Window Color Scheme
!*.foreground:	#c2c2b0
!*.background:	#222222

! Cursor
*.cursorUnderline:  true
*.cursorColor:  #efdfb5

! Font
URxvt.font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-u
URxvt.boldFont: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-u

! No scrollbars
URxvt.scrollBar: false

! Clickable Links
URxvt.perl-ext-common: default,matcher,clipboard
URxvt.url-launcher: /usr/bin/google-chrome-beta
URxvt.matcher.button: 1
URxvt.matcher.rend.0: Uline Bold fg5

! Copy paste with ctrl+shift+...
URxvt.iso14755: False
URxvt.keysym.Shift-Control-C: perl:clipboard:copy
URxvt.keysym.Shift-Control-V: perl:clipboard:paste
URxvt.clipboard.copycmd: xsel -ib
URxvt.clipboard.pastecmd: xsel-ob

!Tweaks
URxvt.internalBorder: 25
URxvt.depth: 32
URxvt.letterSpace: true
URxvt.imLocale: en_US.UTF-8

Last edited by FoxzTrot (2016-08-06 22:44:51)

Offline

#2 2016-08-20 07:50:00

alive4ever
Member
Registered: 2016-07-10
Posts: 65

Re: rxvt-unicode not displaying unicode (braille) characters.

Since urxvt support multiple fonts as fallback, why don't you specify another font?

URxvt.font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-u,xft:Source Code Pro Semibold:size=12,xft:Noto Mono:size=12

I am able to display most of unicode using Source Code Pro. Maybe you should check UTF-8-demo to test UTF8 support for a specific font.

Offline

#3 2023-10-12 05:52:22

beeb
Member
Registered: 2023-10-12
Posts: 1

Re: rxvt-unicode not displaying unicode (braille) characters.

i installed ttf-symbola from the AUR

yay -S ttf-symbola

then modified my .Xresources with

URxvt.font: xft:Source Code Pro:style=Regular:size=10,xft:Symbola:style=Regular:size=10

then refreshed with

xrdb ~/.Xresources

then restarted my terminal, and with symbola as a backup font for soruce code pro, the braille was working, testable with

printf '[\xe2\xa0\x89\xe2\xa0\x9b\xe2\xa0\xbf\xe2\xa3\xbf]\n'

Offline

#4 2023-10-12 11:05:14

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: rxvt-unicode not displaying unicode (braille) characters.

Closing this ancient thread.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB