-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08.12.2014 06:41, Marc Lehmann wrote:
> Daniel Hahler wrote:

>> This is why e.g. https://github.com/ryanoasis/vim-webdevicons includes an
>> extra space character after the symbols, to provide the necessary room.
> 
> Ok, so to help with a horribly broken and immoral technique for web
> development you break a font to display incorrect glyphs, break urxvt to
> display them and use broken text formatting rules to have it displayed in a
> readable way.
> 
> I am not sure what you are proposing - obviously the correct thing is to
> do neither of these, keeping the web interoperable, urxvt usable and fonts
> correct.
> 

Well, it's not about web pages and web interoperability: the example plugin
I've mentioned is named "webdevicons", but (probably) only because most of
its icons are meant for filetypes related to web development.

The glyphs are only meant to be used locally, in the status line and folder
tree / navigation in Vim.

My aim is to use extended glyphs in my shell, e.g. "🐍" to indicate the
current Python version etc.

(Speaking about interoperability though, URxvt (and xterm) is the only
program, which causes problems when trying to use these special symbols,
either from the Symbola font, or the patched webdevicons font.)

I've spent some more hours looking into this, and created a branch, which
has even a configure option to enable it:
https://github.com/blueyed/rxvt-unicode/compare/display-wide-glyphs?expand=1

While I could understand that this would still not get accepted, there is
at least one commit, which might make sense: supporting the space character
in the builtin rxvt_font_default:
https://github.com/blueyed/rxvt-unicode/commit/a42453c30b6b8c03d7dbe2330e1270c772b5282b

It works fairly good so far (in my opinion, of course).

The main hack is to use the font from the previous char with space chars,
which allows the '"careful" (too wide) character handling' to handle them 
together,
using the same font.


Cheers and thanks,
Daniel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFUiPWOfAK/hT/mPgARAsp0AKDJ2rO4n8Flv69S0k+BDMlsPb5i3ACgm2uS
sr3TOsco8Zo6XgnQpqxqWsA=
=VDTU
-----END PGP SIGNATURE-----

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to