Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use single-width glyphs #11

Closed
blueyed opened this issue Dec 5, 2014 · 5 comments
Closed

Use single-width glyphs #11

blueyed opened this issue Dec 5, 2014 · 5 comments

Comments

@blueyed
Copy link
Collaborator

blueyed commented Dec 5, 2014

All (or at least) most glyphs appear to be wider than the normal characters (double width), and therefore an additional space gets appended.

Unfortunately the URxvt terminal does not handle those like gVim or libvte-based terminals (e.g. gnome-terminal) do (ref).

Would it be possible to only use a single character cell (as wide as a M then probably)?

@ryanoasis
Copy link
Owner

Thanks for the feedback. Yes this limitation was brought to my attention previously: http://www.reddit.com/r/vim/comments/2nforo/vimwebdevicons_adds_file_type_glyphs_icons_to/

I have tried just briefly to make them appear correctly in urxvt but I will need to research and experiment a bit more

@blueyed
Copy link
Collaborator Author

blueyed commented Dec 5, 2014

Cool!
Let me know if I can help. I've started looking into fontforge (installed it).

@ryanoasis
Copy link
Owner

For reference and linking ryanoasis/nerd-fonts#4

@ryanoasis ryanoasis modified the milestone: v0.3.4 Mar 1, 2015
@ryanoasis
Copy link
Owner

working now as of:

  • ryanoasis/nerd-fonts@6c6ef8e
    • with mono spaced cli flag
    • e.g. ./font-patcher unpatched-sample-fonts/Droid\ Sans\ Mono\ for\ Powerline.otf --use-single-width-glyphs --quiet
  • 4aa2534
    • with g:WebDevIconsUnicodeGlyphDoubleWidth flag settings, let g:WebDevIconsUnicodeGlyphDoubleWidth = 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants