Nerd-fonts: Chrome / Chrome OS support

Created on 8 Apr 2019  Â·  6Comments  Â·  Source: ryanoasis/nerd-fonts

🎯 Subject of the issue

Could you add Chrome / Chrome OS support by creating web fonts version like powerline-web-fonts?

🔧 Your Setup

Font: Droid Sans Mono Nerd Font
Terminal: Secure Shell App
OS: Chrome OS and Chrome Web Browser on Windows

Screenshot

image

✨ enhancement

Most helpful comment

Here is a temporary solution.

  • Set a custom CSS(inline text) like this one.
  • Src is the raw file where you can download the font.
@font-face {
    font-family: "DejaVu Sans Mono Nerd";
    src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf");
    font-weight: normal;
    font-style: normal;
}

image
image

All 6 comments

This would be useful and it seems doable

This would be creating woff and woff2 versions of the fonts. I did create these for the symbols only font but not the all the fonts

This would be super helpful. Currently using ChromeOS as well. Having the same problem with native terminal and Hyper.js terminal. However, Gnome Terminal works because it doesn't have to use web fonts for this. Would love to know if there is any progress on this :)

Here is a temporary solution.

  • Set a custom CSS(inline text) like this one.
  • Src is the raw file where you can download the font.
@font-face {
    font-family: "DejaVu Sans Mono Nerd";
    src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf");
    font-weight: normal;
    font-style: normal;
}

image
image

Is it possible to add an output to font_patcher for this? (Really wish the complete patched fira code was available in eot/woff/woff2 so I could drop it in as discussed here: https://github.com/tonsky/FiraCode/wiki/ChromeOS-Terminal)

I'm not working on this atm

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brontosaurusrex picture brontosaurusrex  Â·  4Comments

ffernand picture ffernand  Â·  4Comments

math0ne picture math0ne  Â·  3Comments

blueyed picture blueyed  Â·  6Comments

maxwellmckinnon picture maxwellmckinnon  Â·  3Comments