Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling wider unicode characters #161

Open
bleakley opened this issue Apr 1, 2019 · 1 comment
Open

Handling wider unicode characters #161

bleakley opened this issue Apr 1, 2019 · 1 comment

Comments

@bleakley
Copy link

bleakley commented Apr 1, 2019

Certain wide unicode characters, for example ⚔ (the crossed swords character U+2694) appear as about half their size relative to alphanumeric characters. There doesn't seem to be any configuration to display them at their full size. Some ideas:

  • If there is spacing between characters (due to hex layout, forceSquareRatio, or explicit spacing) display the characters at their full width when space is available.
  • Offer additional display options to either (a) display unicode characters at whatever reduced size is required to display them at their normal aspect ratio (this is the current default), (b) display them centered and cropped, or (c) compress them horizontally or vertically so that they take up the full space provided at a different aspect ratio.
@ondras
Copy link
Owner

ondras commented Apr 4, 2019

Hi @bleakley ,

thanks for the report! Would you be willing to provide some examples regarding the incorrect rendering? My quick example at https://jsfiddle.net/nwu78s30/ shows proper character size (the same width as other characters, the main property of a monospaced font), at least on my Firefox / Ubuntu machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants