goplayspace icon indicating copy to clipboard operation
goplayspace copied to clipboard

Add support for "Go Mono" font in the editor

Open bhinners opened this issue 7 years ago • 7 comments

I love the features of the Go playspace. Nice work! Shouldn't it default to the Go fonts, though:

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

bhinners avatar Jun 08 '17 14:06 bhinners

I know about Go fonts, and tried using them, but apart from nice nostalgic feel, I find them much less legible than default system monospace fonts and Fira Code font. The status of this font is unclear: Go Playground doesn't use it (so people won't expect this font to be a default on Go Play Space), golang.org and godoc.org don't use it, the exp/shiny library this font was built for seems to be stalled.

Is anyone using it at all? Are these anyhow adopted by Go community?

iafan avatar Jun 08 '17 17:06 iafan

Personally I like the Go fonts and use them myself, but you raise a good question. I don't know how well they're gaining traction either.

bhinners avatar Jun 08 '17 19:06 bhinners

You can play around with the server locally with changing just one line of code to have "Go Mono" instead of "Fira Code".

I'll be happy to add the support for it if there's a broader demand.

iafan avatar Jun 08 '17 20:06 iafan

I've adopted Go Mono in my IDE and terminal. It is a great font for readability/legibility after you get past the initial hurdle of using serifed fonts. It's just unfamiliar compared to any other offering for coding fonts IMO.

bbrks avatar Jun 08 '17 22:06 bbrks

Do you use it on a retina display by any chance? I've found that it doesn't look as clean on a non-retina display (strokes seem to have uneven width).

iafan avatar Jun 08 '17 23:06 iafan

Actually I do, and that's a very good question that I'd not considered... I have non-retina monitors hooked up, but very rarely use them for development purposes.

bbrks avatar Jun 08 '17 23:06 bbrks

I've been happy with inconsolata in my terminal for many years and don't actively seek to improve it. Maybe I'm missing out! A font selection would be a nice way to try new ones without committing for all terminal work.

FWIW I find goplayspace's default font much more readable than playground's, my browser on playground indicates font-family: Menlo,monospace

therealplato avatar Sep 14 '17 07:09 therealplato