huytd / ascii-d

A cross-platform ASCII diagram drawing app https://web.ascii-draw.com
https://ascii-draw.com
BSD 3-Clause "New" or "Revised" License
271 stars 14 forks source link

The Upper arrow and Down arrow are not shown properly #16

Closed widcardw closed 1 year ago

widcardw commented 1 year ago

The arrow symbols is like a question mark.

image

In src/consts.rs, it is not shown correctly. The font of my iterm2 is JetBrains Mono.

image

However, I tried to translate the triangles into char code.

// In JavaScript
String.fromCharCode(9660)  // '▼'
String.fromCharCode(9650)  // '▲'
String.fromCharCode(9664)  // '◀'
String.fromCharCode(9654)  // '▶'
image

In the app, there still remain some gap, but it's much better. But is it intended to change into 🭯 so that this would narrow the gap?

image

The ASCIIflow project also shows that the char code of is 9650.

image

By searching the unknown symbol 🭯, I found it on symbl, and it is named Upper Triangular One Quarter Block. But if we do not have the font, it will not show correctly.