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

add Powerline symbols #10

Closed
DHowett-MSFT opened this issue Aug 16, 2019 · 27 comments
Closed

add Powerline symbols #10

DHowett-MSFT opened this issue Aug 16, 2019 · 27 comments

Comments

@DHowett-MSFT
Copy link

codepoint glyph codepoint glyph
E0A0 image
branch
E0A1 image
E0A2 image
E0B0 image
left divider (hard)
E0B1 image
left divider (soft)
E0B2 image
right divider (hard)
E0B3 image
right divider (soft)
@isaacrlevin
Copy link

Can I piggy back nerd fonts?

@khuongduybui
Copy link

It will be AMAZINGLY AWESOME for this font to come with Nerd Fonts out of the box!!!

@cerebrate
Copy link

On the off-chance that I'm the first person to have tried it with the release, I can confirm that

fontforge -script font-patcher -w -c ~/Downloads/Cascadia.ttf

...works just the way you'd expect it to. For those of us who can't give up our Powerline prompts even for the moment. :)

@khuongduybui
Copy link

On the off chance that you are the only one who successfully did that, can you please publish the patched font somewhere?

@cerebrate
Copy link

...let me check what the license permits/requires.

@DHowett-MSFT
Copy link
Author

Like Fira, you’ll have to change the name. Everything else is SIL OFL, but the name is trademarked. 😄

@khuongduybui
Copy link

Cascadian Code?

@khuongduybui
Copy link

Or Cascadia Code Plus Plus?

@cerebrate
Copy link

Well, that's simple enough. Delugia Code Nerd Font Complete is here.

Please bear in mind that I know within delta of nothing about font editing, so if this doesn't work for you, I can only recommend that you fire up font-patcher yourself and see how it goes.

(It works great on WSL 2, by the way. 😊)

@DerAlbertCom
Copy link

DerAlbertCom commented Sep 19, 2019

If the whole nerd fonts does not make it into this, please think about the powerline extra symbols https://github.com/ryanoasis/powerline-extra-symbols.

image

Fully Nerd Fonts is maybe a little bit big.

@i3d
Copy link

i3d commented Sep 19, 2019

This font looks good. I am eagerly wanted to see it support powerline syms.

@RobCannon
Copy link

I think a great solution would be to produce 2 or 3 font variations:

CascadiaCode - The basic font
CascadiaCode PL - Add just the PowerLine glyphs
CascadiaCode NF - Add the full set of NerdFont glyphs

That way, anyone concerned about the size can get just what they need.

@rivy
Copy link

rivy commented Sep 28, 2019

@khuongduybui @RobCannon , I suggest Cascodia PF and Cascodia NF.
😄

@mdtauk
Copy link

mdtauk commented Sep 28, 2019

If the extra Powerline glyphs are added, I'd like to see them made a little cleaner in style.

  • The Fire could be made simpler

  • The "Watercolor" style blocks
    image

  • And the frozen icicle style design

@adam7
Copy link

adam7 commented Sep 30, 2019

I figured you could automate downloading and patching the font using GitHub Actions so I had a go and now I have this repository https://github.com/adam7/delugia-code/ which does just that.

@cerebrate I stole your name, let me know if you want me to change it, @RobCannon based on your suggestion I generated a Powerline and a Complete version.

You can grab the patched fonts from the Releases page.

The fonts can be downloaded as Artifacts from the Actions page https://github.com/adam7/delugia-code/actions?workflow=Generate+Fonts

@cerebrate
Copy link

@adam7 Nicely done, and you're welcome to the name!

@ryanoasis
Copy link

@mdtauk Good suggestions/ideas. Those that I made are a bit kludgy 😊 I really do like the blocks in the window title as well.. very clean

@devlife
Copy link

devlife commented Oct 18, 2019

I figured you could automate downloading and patching the font using GitHub Actions so I had a go and now I have this repository https://github.com/adam7/delugia-code/ which does just that.

@cerebrate I stole your name, let me know if you want me to change it, @RobCannon based on your suggestion I generated a Powerline and a Complete version.

You can grab the patched fonts from the Releases page.

The fonts can be downloaded as Artifacts from the Actions page https://github.com/adam7/delugia-code/actions?workflow=Generate+Fonts

I tried for so long to figure out how to use font patcher via fontForge on windows and just couldn't do it. Thank you so much for this @adam7 . Worked like a dream!

@aaronbell
Copy link
Collaborator

All done! :D

@ExE-Boss
Copy link

ExE-Boss commented Nov 21, 2019

Is this using the default PowerLine symbols, or a custom‑ish design?

Because some of the PowerLine‑extra symbols don’t really fit all that well into Cascadia Code’s design.

@aaronbell
Copy link
Collaborator

@ExE-Boss They're pretty much the default ones. Some have been scaled to fit into Cascadia's metrics, but this first round was focused on supporting the glyphs rather than making them "Cascadian". Feel free to file an issue if they look too out of place!

@ScottHutchinson
Copy link

All done! :D

What was done? I don't see any PR/merge linked. Where do we get the Cascadia font patched with nerd glyphs?

I'm interested because when I run fontforge -script font-patcher -q --complete /mnt/c/Users/scott/Downloads/CascadiaCode-2009 .22/ttf/CascadiaCode.ttf on Ubuntu 20.04.1 LTS (WSL) I get fontforge: can't open file 'font-patcher': [Errno 2] No such file or directory and I can't find how to fix that. Thanks!

@aaronbell
Copy link
Collaborator

@ScottHutchinson see here:
https://github.com/microsoft/cascadia-code/wiki/Installing-Cascadia-Code

We released a separate version called “Cascadia Code PL” that include those symbols. And can be downloaded from the Github release.

@ScottHutchinson
Copy link

Also my PowerShell prompt looks like this, which is not as nice as I have on another computer. I'm not sure how to fix it.

image

@ScottHutchinson
Copy link

@aaronbell Thanks I did download that, but thought maybe it did not include all the glyphs, since my prompt doesn't look quite right (see above).

I have "fontFace": "Cascadia Code PL"

@aaronbell
Copy link
Collaborator

It looks like you’re getting the right glyphs. How do you expect it to look?

@ScottHutchinson
Copy link

Never mind. I guess it's good enough. It looked like this on my old computer that I configured about a year ago. Now if I could just get it to look like that on Ubuntu.
image

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