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

How to set list of fonts? Especial need for NERD fonts #49

Open
ivakyb opened this issue Aug 23, 2019 · 5 comments
Open

How to set list of fonts? Especial need for NERD fonts #49

ivakyb opened this issue Aug 23, 2019 · 5 comments

Comments

@ivakyb
Copy link

ivakyb commented Aug 23, 2019

tags: nerd font, powerline

@ivakyb
Copy link
Author

ivakyb commented Aug 23, 2019

can't upload svg because of
изображение

@ivakyb
Copy link
Author

ivakyb commented Aug 23, 2019

https://asciinema.org/a/wFKjX0AsVuesXIIACS6JSE0Wt shows fine
but svg does not support powerline symbols
изображение

@sinedied
Copy link

sinedied commented Sep 5, 2019

Any idea on how to embed font or convert special glyph to svg glyphs?

@marionebl
Copy link
Owner

I dug a bit into the approach asciinema takes for this. Seems like they have a special web font for Powerline symbols. From their CSS file:

@font-face {
  font-family: 'Powerline Symbols';
  src: local('Powerline Symbols'), local('PowerlineSymbols'), url('/fonts/PowerlineSymbols-16d842d90121c528e972bd3af66cf5e0.otf?vsn=d') format('opentype');
}

A feature to optionally embed this web font into the resulting SVG would solve this. Let's see how pronounced the performance impact of this is - maybe we could even strip the font down to the glyphs we find to be actually in use?

@miraclx
Copy link

miraclx commented May 17, 2020

Addressed in #61
See https://github.com/miraclx/svgembed

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

4 participants