Code Monkey home page Code Monkey logo

pkgbuild-rxvt-unicode-wide's Introduction

PKGBUILD for rxvt-unicode with support for displaying wide glyphs

This PKGBUILD builds urxvt-unicode with the patch from https://github.com/blueyed/rxvt-unicode/tree/display-wide-glyphs to display glyhps that are too wide instead of a square.

urxvt considers the font to be broken, e.g. if the glyph is wider than the number of cells that wcwidth(3) reports. This gets better with Unicode 9 (since e.g. more characters are assigned a width of 2), but it does not help with characters from the Private Use Area (e.g. Font Awesome).

I am coming back to this approach after blueyed/rxvt-unicode#1 turned out to be too fragile:

  1. the method of using a socket for communication fails for remote applications, and already when re-attaching to a tmux session after closing the terminal it was started from (where the terminal cannot respond to requests on the socket then anymore).
  2. using OSC terminal escape sequences also does not work with tmux (server), and other applications that have no tty attached.

Included in Arch's user repository (AUR): https://aur.archlinux.org/packages/rxvt-unicode-cvs-patched-wideglyphs/

pkgbuild-rxvt-unicode-wide's People

Contributors

blueyed avatar the-compiler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pkgbuild-rxvt-unicode-wide's Issues

Is FontAwesome glyphs being pixelized and cut-off on scroll normal?

Hello! I have installed your patched version trough AUR, but I experience some weird stuff with glyph fonts.

I add fontawesome to my .Xresources like this:

URxvt*font:		xft:xos4 Terminus:pixelsize=18, \
			xft:xos4 Terminess Powerline:pixelsize=18, \
			-*-fontawesome-*-*-*-*-*-*-*-*-*-*-*-*

URxvt*boldFont:		xtf:xos4 Terminus:pixelsize=18:weight=bold, \
			xft:xos4 Terminess Powerline:pixelsize=18, \
			-*-fontawesome-*-*-*-*-*-*-*-*-*-*-*-*

I couldn't get regular way to work:

$ urxvt -fn "xft:FontAwesome"
urxvt: unable to calculate font width for 'FontAwesome:minspace=True', ignoring.
urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.

So in the end, I get something like this (screenshot from vim):

fa

As you can see, glyphs look pixelized, some glyphs are cut in half, and scrolling randomly fixes this. I suspect this has something to do with way I included FontAwesome, but as I said, I couldn't make other way work.

I would be glad if you suggested a better way to use such fonts. Thanks!

Problems with some glyphs

Hi

I have a problem with some glyphs in email from Ebay. The characters show properly, but the following line(s) are eaten.

Screenshot here to show you what I mean:

http://www.r0t.uk/sshots/shot-5880465154.png

And rxvt-unicode identifies the delivery van as 1f69a in Symbola font and the tick as 2705 also in Symbola:

http://www.r0t.uk/sshots/shot-6168817166.png

I'm using your patches with a SlackBuild rather than the PKGBUILD:

http://dawoodfall.net/slackbuilds/14.2/rxvt-unicode/

But I've checked that the wide-glyph is up-to-date with yours.

Oh, I'm also using doc/wcwidth.patch that is included in the source. I've tried with and without it, but don't see any difference with this problem.

Kaputt! Linenumbersymbol with Hack font

9776, Hex 2630, Octal 23060
vim-airline
Crash
76/309โ˜ฐ :137

Hack font related, triggered by airline with the linenumbersymbol?!

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7685a1e in XftDrawGlyphSpec () from /usr/lib/libXft.so.2
(gdb) bt
#0 0x00007ffff7685a1e in XftDrawGlyphSpec () from /usr/lib/libXft.so.2
#1 0x000000000042296e in rxvt_font_xft::draw(rxvt_drawable&, int, int, unsigned int const*, int, int, int) ()
#2 0x000000000041cfc2 in rxvt_term::scr_refresh() ()
#3 0x000000000041ea72 in rxvt_term::flush() ()
#4 0x0000000000439cee in ev_invoke_pending() ()
#5 0x000000000043a73d in ev_run ()
#6 0x0000000000419333 in main ()

(gdb)

urxvt exits with segmentation fault error

Hello,

thank you for this version, I can finally run vim-airline without any problem.

I ran into an issue, when I do systemctl status, urxvt exits with segmentation fault (core dumped) urxvt error. I tried running without any customizations(.Xresources) and got the same error.

start urxvt Error

URxvt.font: xft:DejaVuSansMono\ Nerd\ Font\ Mono:antialias=false:minspace=false:pixelsize=12,
xft:WenQuanYi\ Micro\ Hei\ Mono:antialias=false:minspace=false:pixelsize=12,
xft:Symbola:antialias=false:minspace=false:pixelsize=12,
xft:PowerlineSymbols:antialias=false:minspace=false:pixelsize=12
1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.