playtime.nvim icon indicating copy to clipboard operation
playtime.nvim copied to clipboard

Non-rendering characters in The Emissary

Open deoxys314 opened this issue 1 year ago • 2 comments

The characters indicating which kingdom I'm at in The Emissary are not present in any fixed-width font I can find on my computer. I regularly use Fira Code patched with powerline and nerd font symbols, even this has no result. I can't even determine what character they are with ga or g8, as neovim reports 20 (space); I suspect the floating window is confusing something here.

What are these supposed to be, and/or are there any fonts (or fallback fonts) I should try to get this rendering properly?

I'm using KiTTY on OSX in this screenshot, but this issue persists across iTerm2, Terminal.App, and Windows Terminal (obviously on Windows).

image

deoxys314 avatar Oct 24 '24 00:10 deoxys314

It should look like this, at least when using Iosevka.

image

It's part of "Symbols for Legacy Computing", https://en.wikipedia.org/wiki/Symbols_for_Legacy_Computing, 1FBB2 & 1FBB3. 🮲🮳

I figured they would have good support but maybe not.

Can you see them if you just copy paste the chars into your terminal and also into a blank nvim file?

Ideally the symbols would be configurable but I haven't quite thought about how to do that, it can get hinky when for example, its 2 separate chars here, so the component needs to be a bit smarter to work out positions, etc.

All the symbols are picked out of the Iosevka specimen because thats what I use, so Iosevka is a good fallback font choice, but its glyph width is thinner than many fonts, so it might not look great in practice.

rktjmp avatar Oct 24 '24 08:10 rktjmp

The only font I seem to have with these is Iosevka, which I installed per this comment, so it doesn't seem to be widespread. On both the Windows and OSX machines I have access to, without that installed, these characters don't render in any terminal (in the game or in a text file) nor any browser I can try (which I figured would have pretty deep font fallback support).

I do like what you're going for here, with a little guy running around to the different kingdoms. I'd favor the option to change these in setup, but that's easy for me to say: I'm not the one who has to write it.

deoxys314 avatar Nov 07 '24 15:11 deoxys314