Hack icon indicating copy to clipboard operation
Hack copied to clipboard

Add Bitcoin glyph [U+20BF]

Open chrissimpkins opened this issue 7 years ago • 17 comments

Unicode v10.0 defined the bitcoin symbol. It would be useful to include it in the sets. Open to anyone who would like to design it and contribute this.

chrissimpkins avatar Mar 16 '18 14:03 chrissimpkins

Please assign.

mynetx avatar Mar 16 '18 14:03 mynetx

Do we want to adopt the dollar style?

bildschirmfoto 2018-03-20 um 17 16 40

mynetx avatar Mar 20 '18 16:03 mynetx

Believe it is supposed to have two vertical lines? Here is how Font Awesome drew it:

screenshot at mar 20 12-24-34

chrissimpkins avatar Mar 20 '18 16:03 chrissimpkins

@chrissimpkins Isn’t the dollar supposed to have two as well?

mynetx avatar Mar 20 '18 16:03 mynetx

Most typefaces draw it with one. Here is what Wikipedia says about dollar symbol:

The symbol can interchangeably have one or two vertical strokes.

Thai baht has one vertical line ฿. Probably best to keep two for the bitcoin symbol.

https://unicode-table.com/en/sets/currency-symbols/

chrissimpkins avatar Mar 20 '18 16:03 chrissimpkins

Here's another interpretation:

bildschirmfoto 2018-04-01 um 14 56 10

mynetx avatar Apr 01 '18 12:04 mynetx

Looks good at large sizes @jublo. How does it render at smaller text sizes? Possibly too much black to see the B part of the shape as the size decreases? We may need to tinker with the width of the right vertical line a bit to achieve something that renders well (or keep the top and bottom stems and eliminate it from the central portions of the B shape). Thoughts?

chrissimpkins avatar Apr 02 '18 14:04 chrissimpkins

I can either:

– move the right line more to the left – make it thinner – remove it

What do you think?

mynetx avatar Apr 04 '18 19:04 mynetx

How does current design render between sizes 8-14? Those are our design targets. If OK may not need to do anything further. I like the design, question is whether we have enough white pixels to show it off. Mind posting some screenshots with this built in sets?

chrissimpkins avatar Apr 04 '18 19:04 chrissimpkins

macOS on retina

bildschirmfoto 2018-04-15 um 12 10 02

Windows 10 on retina

bildschirmfoto 2018-04-15 um 12 12 34

Windows 10 on 100% scaling

bildschirmfoto 2018-04-15 um 12 14 32

mynetx avatar Apr 15 '18 10:04 mynetx

lgtm. what do you think?

chrissimpkins avatar Apr 15 '18 13:04 chrissimpkins

@jublo ping https://github.com/source-foundry/Hack/issues/420#issuecomment-381405727

chrissimpkins avatar May 18 '18 16:05 chrissimpkins

Please submit design source as PR when you are ready to review this.

chrissimpkins avatar Jun 04 '18 17:06 chrissimpkins

The symbol looks too busy at small sizes; the bars need not cross the bowls.

fitojb avatar Oct 02 '18 23:10 fitojb

Thank you @fitojb! JM do you any time for this work in the next few months?

chrissimpkins avatar Oct 03 '18 00:10 chrissimpkins

@fitojb You think the bar should only stretch to the top and bottom? @chrissimpkins Yes I will :)

mynetx avatar Oct 03 '18 09:10 mynetx

@fitojb You think the bar should only stretch to the top and bottom?

That’s how it’s drawn in several existing fonts :) bitcoin glyphs

fitojb avatar Oct 03 '18 11:10 fitojb