belluzj / fantasque-sans

A font family with a great monospaced variant for programmers.

Home Page:http://openfontlibrary.org/en/font/fantasque-sans-mono

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fantasque smaller than other fonts at same font size?

RedBearAK opened this issue · comments

A recent YouTube video about a non-free font called Comic Code prompted me to start comparing it to a number of different free and open source monospace fonts. Fantasque Sans Mono was actually the closest I've come to finding something close to Comic Code. It's very nice. But I noticed something odd about it.

I don't know much about font design, but I'm really curious whether it's a deliberate design choice to make Fantasque Sans Mono a bit smaller than other similar fonts. I'm using Font Manager from Flathub to compare a number of different fonts and I noticed that Fantasque is just... smaller. I was switching fonts in Visual Studio Code and noticed that I always wanted to zoom in or increase the editor font size whenever I tried Fantasque. The Font Manager app showed that this wasn't just my imagination. It really is relatively smaller at the same "size".

The screenshot below shows the font compared to four other fonts that share the same purpose of being good monospace "coding" fonts. You can see that there is an unusually large difference in length and height with Fantasque Sans Mono and the other fonts, even though they are all being set to the same "font size" for the comparison. All the other fonts are basically exactly the same length for the same string of characters, not even a single character width of difference. Fantasque has a bit less space between some of the letters, but it's also just physically smaller in general, leading to about a dozen character widths difference in length.

Is this something done on purpose? Or is it an issue with the settings used while generating the font that might be adjusted to match some sort of font size vs pixel dimensions standard better? Just curious.

image

It wasn't a conscious decision, that was just due to my inexperience when I made this, if I had done comparisons to other fonts I would have designed the letters with better metrics. I could probably scale all the outlines to match user expectations, but as you found out you can also bump the font size by one or two in the font editor and get something that works for you.

@belluzj

I could probably scale all the outlines to match user expectations, but as you found out you can also bump the font size by one or two in the font editor and get something that works for you.

Yes, very true. It's not a world-shattering problem, to be sure. And I can't actually find any information about there being an official standard size, even for monospace fonts, other than 72 pt == 1 inch, but that's referring to printed typefaces in the real world, essentially.

But, as can be seen from the screenshot below, there are a large number of monospace fonts that do seem to be conforming to a remarkably exacting similarity in size-on-screen for a given point size. You can literally draw a straight vertical line down the screen to mark the beginning and end of all the matching font strings. Though there are some notable exceptions, including Ubuntu Mono and Monoid.

monospace_fonts_comparison

I feel like the users of FSM would be well served if the font was a lot closer in dimensions to these other monospace fonts. It would allow FSM to more easily be embedded in a paragraph with other fonts without needing to specifically adjust the font size of the embedded string separately from the rest of the paragraph. That's just one example I can think of.

Thank you for your response.

@belluzj I have to say that this was a very good decision, because after being two sizes smaller than other fonts, it looks very comfortable when it is the same size as the Chinese font. I remember that inconsolata is also such a font size.

I dont have problem with the smaller font size. I can increase it anytime.