Code Monkey home page Code Monkey logo

Comments (2)

markknol avatar markknol commented on August 27, 2024

We use the same code font on all Haxe sub sites, so if this is going to be changed I want to change it everywhere. The Inconsolata font requires custom webfonts, which increases the load time a bit. That's not a big issue but now we have a monospaced font for "free".

I did some quick googling:

  • Google uses Roboto Mono 15px for their docs example
  • Mozilla uses consolas (same as us), but 14px example
  • MSDN uses consolas (same as us), but 13px example

The easiest thing, maybe, it to just increase the font size. However, I do like the Roboto Mono, even more than Inconsolata, but that may be a preference. Ill do some tests with it.

Btw, which OS/browser do you use? The aliassing looks very "fat" compared to what I see.

from code-cookbook.

anissen avatar anissen commented on August 27, 2024

Thanks for your reply! 👍

We use the same code font on all Haxe sub sites, so if this is going to be changed I want to change it everywhere.

Ahh I see. Not as small a change as I've thought then. On the other hand, it's an opportunity to improve all the Haxe sub-sites ;)

The easiest thing, maybe, it to just increase the font size. However, I do like the Roboto Mono, even more than Inconsolata, but that may be a preference. Ill do some tests with it.

I agree on both counts. Increasing the font size seems to do a lot for readability but I also prefer Roboto Mono over the Consolas.

Btw, which OS/browser do you use?

I'm on OS X 10.11 and using Chrome 52. Here's an a comparison screenshot (Chrome at the top, Safari at the bottom):
screen shot 2016-08-16 at 19 46 15

from code-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.