Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

From Mac OSX to mac OS X


Overview

I had to install several fonts and throught you’d want to benefit from my experience.

Cross-platform

Loading Open Sans on both Mac and Windows enable similar display.

  1. https://www.fontsquirrel.com/fonts/open-sans

Bitmap vs vector

There are two ways fonts are drawn - as bitmaps or as vectors.

Vector fonts are better on my Apple monitors with 1080p HD and above because they allow more efficient scaling.

When using old monitors with lower resolution below 720p, bitmap fonts are better because they are generally more legible at smaller sizes on low-resolution screens.

Mono-spaced Programming Fonts

I am not satisfied with standard fonts to display programming code.

Characters should be clear, easy to read, in cases of clashing ones such as 1, l, i or O, o, 0 easily distinguishable, differences between different kinds of brackets, quotes and parentheses should be clear, punctuation should be emphasized and they shouldn’t break up words or sentences due to uneven character widths.

My main criteria is a narrow font so more characters fit on a line.

  • https://www.slant.co/topics/67/viewpoints/7/~programming-fonts~ubuntu-mono It has a weird “m”.

  • https://fonts.google.com/specimen/Source+Code+Pro described in https://en.wikipedia.org/wiki/Source_Code_Pro

  • Consolas is not proportional, so columns line up.

  • https://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released Envy Code R

Meslo LG Multi-Platform

Now one would think that Apple engineers are rather particular about fonts.

Since Snow Leopard, Menlo-Regular is the default font for Apple’s developer tools and the Terminal. (which is a customized Bitstream Vera Sans Mono).

But no.

One guy has nitpicky gripes with it:

  • The default vertical (line) spacing is just way too cramped

  • The horizontal baseline alignment of the asterisk is off

So he created a customized version of Apple’s font.

https://github.com/andreberg/Meslo-Font

His website has a “DZ” edition with dots inside zeros so no one can confuse them for upper case letter O.

https://github.com/andreberg/Meslo-Font/blob/master/dist/v1.2.1/Meslo%20LG%20v1.2.1.zip

Thanks to his work, we now have a good fixed-sized font that works across Mac and Windows.

https://github.com/andreberg/Meslo-Font/wiki/Using-Meslo-LG-with-the-Windows-Console

GoLang fonts

The font family, called Go, includes proportional- and fixed-width faces in normal, bold, and italic renderings.

https://blog.golang.org/go-fonts

Hack Fonts from GitHub

There are two to try:

https://github.com/andreberg/Meslo-Font

https://github.com/chrissimpkins/Hack

  1. Scroll down to click “Latest version”, which for me was:

    https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-ttf.zip

  2. Unzip file: Hack-v2_020-ttf.zip to Hack-v2_020-ttf

  3. In Finder navigate to your user’s Library folder.

  4. Drag and drop the unzipped fonts

Dyslexie

This is not only a casual, fun-looking font, but one that makes it easier to read for those with mild Dylexia.

  1. https://www.dyslexiefont.com/

  2. Click the Home Edition (or Education or Business)

  3. The font file available when I did this was:

    Dyslexie Regular LP172832.ttf

Apple Font Book app

  1. In Finder, choose Go > Applications. Scroll to Font Book and double-click to open it.

  2. Click “User”.

  3. In Finder, drag the new font folder and drop it under the list of user fonts.

  4. Delete the font folder and zip file.

This program is described at https://support.apple.com/en-us/HT201749

More on OSX

This is one of a series on Mac OSX: