Sabaki icon indicating copy to clipboard operation
Sabaki copied to clipboard

Please support glyphs in annotations

Open RobertLuptonTheGood opened this issue 4 years ago • 4 comments

There is unicode support for at least some symbols (https://unicode.org/L2/L2016/16185-go-symbols.pdf; https://unicode-table.com/en/1F7D5/), but these don't seem to be reported by Sabaki 0.51.1 . If they are, it'd be good to improve the docs!

RobertLuptonTheGood avatar Feb 07 '21 18:02 RobertLuptonTheGood

I second the motion.

petermao avatar Feb 13 '21 22:02 petermao

I'm not sure I'm understanding the request here. There are some unicode symbols that resemble various Go annotations, although it seems like font support for these glyphs is very low (I tried it on a bunch of fonts I commonly use, at least, and none of them were able to render 🟕 for example).

What are you suggesting Sabaki should do? Ship a font that does include them so that comments can use them?

apetresc avatar Mar 02 '21 06:03 apetresc

I can't speak for Robert, but, yes, shipping a font that supports unicode 1F7D5-8 would be nice. I'll keep my eyes peeled for a font that includes them.

petermao avatar Mar 13 '21 06:03 petermao

symbola has nice versions of these glyphs. Any chance Sabaki could ship with this (or allow a user to access it)?

I found this via https://www.fileformat.info/info/unicode/char/1f7d5/fontsupport.htm and https://superuser.com/questions/876572/how-do-i-find-out-which-font-contains-a-certain-special-character

petermao avatar Mar 17 '21 03:03 petermao