whitekillo.blogg.se

Best standard mac fonts reddit
Best standard mac fonts reddit







best standard mac fonts reddit
  1. Best standard mac fonts reddit 1080p#
  2. Best standard mac fonts reddit code#
  3. Best standard mac fonts reddit windows#

Why? The problem with line height is that it’s calculated from the same abstract character boundaries: While we’re at it, let’s fix line height too? Don’t worry, I’ll be quick.įirst, there’s clearly no consensus. Or Ubuntu Mono and Victor Mono (two last ones). Look, for example, at Cascadia and Consolas. To me, the latter gives much better consistency. Here are multiple fonts all set to the same font size:Īnd here are all the same fonts, but resized to match cap height: So it makes sense to control the size of that, not some other arbitrary-selected metric: Specify cap height, not em square size.Ĭaps are what human eye actually perceives as text block boundary.Can’t share editor config between macOS and Windows. Get different rendering when opening a document on a different OS. Switch to a different font, keep the same size, get bigger/smaller letters. Want letters to be 13 px tall? Can’t do it. Not practical: you can’t get what you want.Unpredictable: you can’t guess what you’ll get.I see the following problems with font size: All these fonts have the identical size of 22 pt: For example, if I align em squares (= set same font size) from two different fonts, I get very different “m” height:Īnother example.

best standard mac fonts reddit

That means that different fonts set at the same size might have drastically different perceived size. When I say em size is absolutely arbitrary and is not related to anything in the font at all, it’s not an exaggeration. Too bad it’s invisible and no element in font matches it. This square will be 32/43 px tall/wide if you set the font size to 32 pt. Long story short, this square is what you actually control when setting font size.

Best standard mac fonts reddit code#

Meaning, if I open Fira Code and draw em square, it will not align with anything at all: In a digital type, though, an “em square” is (and I’m quoting Wikipedia):Ī grid of arbitrary resolution that is used as the design space of a digital font.

best standard mac fonts reddit

Why was the height called “em size”? Because letter “m” was coincidentally a square, and “m” width = character piece height = em size. In traditional metal type, em size is the height of the character piece. This is because font-size sets the so-called “em” size. But these numbers are still nowhere to be seen. So user requesting 32 pt font is actually requesting 32 px on macOS and 43 px on Windows. VS Code seems to take editor.fontSize value directly in pixels. Same font, same pt size, no relative scaling

Best standard mac fonts reddit windows#

This holds to this day: 16 pt text on Windows is ⅓ larger than 16 pt text on macOS. So they figured, why not make everything ⅓ larger?Īnd they did, indeed. Why not 72? Not because they had better displays (they didn’t), but because 72 gave you too few pixels to render a legible text. In the spirit of true cooperation, Windows uses 96 PPI instead of 72. Nice! Of course, Mac displays have improved their PPI since, but the convention stays. If you view text there, its physical size on the screen will match its physical size when printed. Why the number 72? Turns out, original Macs used to have displays with exactly 72 PPI.

Best standard mac fonts reddit 1080p#

If you put macOS on a 32” monitor and a 24” monitor, both set to 1080p resolution, you’ll get identical pixel size, but not physical size, undermining the original idea. Instead, macOS always uses 72 PPI to convert points to pixels. If I want to see my letters 2 inches tall, I can do that by setting the font size to 144 pt. The idea here was that you set font size directly in physical units, ignoring minute details like screen resolution. Point is a physical unit of measure, equal to 1⁄72 of an inch (0.353 mm), originating from typography. What is going on? Pointsįirst, that size is not in pixels, it’s in points. If we measure letters themselves, number 32 is nowhere to be seen:ģ2 is not the width or height of a letter, neither is it a capital letter height, an x-letter height, an ascender height, a descender height. What happens when you set "font_size": 32 in your favorite editor? I would’ve told you anyway, but I’m glad that you asked.









Best standard mac fonts reddit