📜 ⬆️ ⬇️

Once again about a minus and a hyphenaimus

Since I returned from a free translator to the work of a programmer in the office, an invisible hand has pushed me at a quarter to seven, strongly pushing me to rise. Even on Saturday. And what to do?

Now I decided to write about the hyphenomenus (that which is present on our keyboards instead of the real minus and the real hyphen, in Unicode, however, existing) and the real minus. On Habré there was already a wonderful article on the subject “Dashes: Is there only a dash, minus and a hyphen?” (And it’s not alone), but when the boss noticed that with my appearance in the project, the minuses on his pages were visually transformed and they became wider than advantages; I felt that I might need numerical arguments (here it is, a mathematical education), and not just references to authorities.

And I made measurements of hyphenosis and minus (and comparison for the sake of plus) in a number of headsets popular with the public or among me personally: Times New Roman and Arial Unicode (all measurements gave the same results), Linux Biolinum and Linux Libertine (the same) , Georgia, Tahoma, Verdana, Calibri, Code2000, Liberastika, Arial, Courier, Courier New. And that's what I installed.
Of course, it seemed to the boss. In contrast to the usual practice, use instead of minus hyphenaimus. In fact, the width of the present minus in the part of the named headsets (including the one used in the Tahoma project) corresponds exactly to the width of the plus, and in the others it is closer to it than in a short hyphenine. It is noticeably wider than the plus only in Code2000 and Linux Biolinum / Linux Libertine, and in Courier New, the width of the plus width unexpectedly exactly coincides with the width of the hyphenine.

However, there is another reason: the height of the location in the line. In all the named headsets, except Courier, the minus is at the same height with a plus, and the hyphenosis is only in some, and in the popular Times New Roman and Arial it is noticeably lower (as much as two pixels at a font size of 16px).

In general, with a minus, in my opinion, everything is clear. Its use is dictated not only by semantic, but also by visual considerations.

Source: https://habr.com/ru/post/107226/

All Articles