ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
53.46k stars 3.61k forks source link

When do we get our inverse U+E0B0 Triangle? #1451

Closed a-usr closed 5 months ago

a-usr commented 8 months ago

Requirements

Is your feature request related to a problem? Please describe. Some Terminals dont apply effects like transpaency to foreground colors.

Describe the solution you'd like Inverted version of U+E0B0 and other powerline symbols without already existing inverse counterparts

Describe alternatives you've considered U+E0D4: Looks bad

Additional context This has been requested on multiple occasions, for example Here Also, its not like the svg's have to be made from scrap, some already exist in the Powerline Extra Repo (here for example)

Finii commented 7 months ago

Misunderstood initially, this is my first answer, maybe ignore

I guess I do not get it. If you want to have it "inverse" just assign the foreground color to the background and vice versa?

You mean these two?

image

They are the same, just one time you turn on 'inverse mode' via \e[7m.

Usually it looks more like this:

image

The first E0B0 (left pink arrow) and its inverse twin E0B0 (right pink arrow). Just by setting the color correctly.

image

printf "\e[102m\e[31m fini \e[92m\e[100m\ue0b0\e[100m\e[97m ~ \e[90m\e[102m\ue0b0\e[31m test \e[0m\n"

With explanation:

image

You see, the left (first) E0B0 is green-on-grey and the right (second) inverse one is grey-on-green.

Here the real answer

Transparency mode?

Some Terminals dont apply effects like transpaency to foreground colors.

Which terminal is that, that you use for PowerShell?

I guess you mean this here https://github.com/ryanoasis/powerline-extra-symbols/commit/eb6b9721a893bf97268dfed507680467ef91c189 Codepoints E0D6 and E0D7

image

image

Finii commented 7 months ago

This is also merged by Ryan but missing because never released

https://github.com/ryanoasis/powerline-extra-symbols/commit/aebf016649e8ac036ae98aefd2c0c3bc47c5280a

Codepoints E0C9 right-half-circle-thick-inverse-cutout and E0CB left-half-circle-thick-inverse-cutout

Finii commented 7 months ago

Note to self: Check if this is still a problem with Win11 (i.e. Windows Terminal)

Finii commented 7 months ago

U+E0D4: Looks bad

Can you explain why? Looks bad for your use case, or is there an issue with the icon itself?

Finii commented 7 months ago

Are you willing to test the new glyphs? I can create patched fonts for your preferred sourcefont and you can try. Please specify which font you'd like to test @a-usr.

a-usr commented 7 months ago

U+E0D4: Looks bad

Can you explain why? Looks bad for your use case, or is there an issue with the icon itself?

It's not the icon itself, but it just don't match with what I need in my use case (specifically the empty line in the middle and the fact that the angle of the triangle when the symbol has the background colour as foreground and vice versa)

Which terminal is that, that you use for PowerShell?

It is actually Windows Terminal, wich you plan on investigating.

Are you willing to test the new glyphs? I can create patched fonts for your preferred sourcefont and you can try. Please specify which font you'd like to test @a-usr.

I would love to test CascaydaCove

Finii commented 7 months ago

I would love to test CascaydaCove

You can find that in the PR: https://github.com/ryanoasis/nerd-fonts/pull/1490#issuecomment-1902035907

Please report back in the PR thread.