You are not logged in.
Pages: 1
Topic closed
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
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
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
Closing this ancient thread.
Offline
Pages: 1
Topic closed