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

Miss-aligned text (likely issue with unicode?) #238

Open
vchuravy opened this issue Jul 21, 2021 · 5 comments
Open

Miss-aligned text (likely issue with unicode?) #238

vchuravy opened this issue Jul 21, 2021 · 5 comments
Assignees

Comments

@vchuravy
Copy link
Member

See the discussion here https://discourse.julialang.org/t/use-juliamono-to-fix-misaligned-benchmarktools-histograms/65054

@tecosaur
Copy link
Collaborator

Is this still an issue? Looks like it may have been solved.

@vchuravy
Copy link
Member Author

Probably depends on what Font your browser defaults to, since for me #243 (comment) is misaligned.

@vchuravy
Copy link
Member Author

Still an issue the text example in #260 looks like:

Screenshot from 2021-09-22 10-00-08

On Firefox+Linux (and also Slack I think)

@mcabbott
Copy link

So it looks like the blocks for the histogram aren't printing the same width as the ordinary space.

Could try printing blocks set to the same colour as the background instead of spaces? But that's unlikely to work well with different colour schemes, nor with copying plain text.

Is there a unicode space which might somehow be interpreted as having the same width? In https://en.wikipedia.org/wiki/Block_Elements there is no empty block.

@tecosaur
Copy link
Collaborator

Having looked a bit around Unicode before, IIRC the character we're looking for simply does not exist. This isn't a nice answer, but unfortunately, I don't think there is one here.

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

No branches or pull requests

4 participants