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
"x" in 0xFF is confusing #944
Comments
I disagree. To me, it makes it look nicer when the x is centered. |
@j-f1 why should letter |
maybe there can be feature changing |
Unlike those examples, the |
@j-f1 so what about the hex example then, or url? Or in what language is this useful? Is there one where you write 50x50 and expect those number to multiply? I believe it is confusing in when you change meaning of a glyph. I was very confused when seeing such hex value |
In 50×50 it does exactly what it is supposed to do: shows multiplication where programmers are too lazy to reach for a proper unicode. In '0x4d2' it is used to show that this combination of characters has a special meaning. I agree that hex numbers and multiplications are two different use-cases, but it was not me who chose to write hex numbers using X. I’m just playing along. If I could, I’d replace it with 4d2₁₆ but that does not seem feasible. |
But I think centered x looks more balanced visually. |
@BornForFever sure it is. But I have been still wondering, can you give me a single use case? Where do people need to write number x number and see it pretty? Is such a syntax used in some language for multiplications? The thing is, you don't know where else it can appear and in what combination. I design and produce fonts. You wouldn't think of letter combinations like gg and gj, but hygge and gjort in Danish – there it is. [0-9]x[0-9] can appear in url slugs, nicknames, api key, passwords. All those can have such combination. It only creates confusion. I don't personally mind anymore, because of this I changed to other font, but I don't think that it is right. |
Use case: documentation. |
It's important to understand that ligatures don't change the input, it only renders differently only on your screen.
|
also, imo looks really cool :) |
the 'x' is for hex, and rendering it centered, as part of the numbers, is correct imo |
that's unexpected, tho. |
I've got to register agreement with @jansindl3r on this one: By and large, I love ligatures. I just find this one to be an unnecessary mental speedbump:
|
Sorry for necrobumping a bit, but I wanted to provide another example after getting confused for a second: Just to say it doesn't "look cool" every time. Above example is a confusing mess imho, some What would be really cool is, having this configurable somehow, not sure how though, via harfbuzz feature maybe. |
returns something that looks not like 0x4d2 but 0×4d2. You are not solving anything with this substitution, you changed meaning of the content.
The text was updated successfully, but these errors were encountered: