1 Introduction
Maybe some classmates are already at home for the holidays, and I will soon too. I don’t want to talk about specific technologies these days, let’s talk about something lighter after the Chinese New Year. But I don’t want to deviate too far from programming, so today I will talk about some of our commonly used programming fonts. Eyes need to move in unusual ways (vertical and horizontal) when reading code, which is very different from book reading (usually sliding along the text in the same direction). So fonts are also an integral part of productivity. Next, I will introduce some of my commonly used fonts.
2. Consolas
Consolas I used it for a long time, when I was still using eclipse. This is a set of monospaced, sans-serif fonts designed by the Danish designer Lucas de Groot. This set of fonts uses Microsoft's ClearType font smoothing technology . Using **Microsoft Windows** as the development OS environment feels more obvious.
3. Source Code Pro
After a long time, I got tired of aesthetics, and I switched to another font Source Code Pro . It looks like this:
It is an open source and completely free monospaced programming font released by the famous Adobe company. You can tell what it does from the name. Reads well on both MacOS and Windows.
4. Inconsolata
Code farmers are too easy to "like the new and dislike the old", Inconsolata is from a colleague copy:
I don't know what it has to do with Consolas, but this one is much more subtle than Consolas. The width is exactly half-width, and Chinese characters will not be squished when matched with Chinese characters.
5. Fira Code
After changing to MacBook Pro for development, I fell in love with the following font:
Fira Code is a font provided by Mozilla. It is an extension based on the Fira Mono monospaced font. The main feature is the addition of programming ligatures. Note the -> symbol in the image above. If it doesn't feel obvious, let's take a look at a few of our commonly used ones:
Isn't it interesting? You can have a try.
6. Droid Sans Mono
This is the font mentioned in an update of Intellij Idea. I tried it and it was not bad. This is a font designed for Android. It is very beautiful, but there is no difference between 0 and O. This is the largest I believe that many students will give up it because of this, and hope that a magical revision will be released in the future.
7. JetBrains Mono
Starting with the 2019.3 release of Intellij Idea JetBrains started offering their new Mono font designed for developers. I was really blown away, so I'm still using it so far:
Does the design ability of JetBrains need to be blown up again?
8. Losevka
This is a font that I just saw a lot of people admire - Losevka . It is said that it matches very well with Chinese, so there is no need to worry about alignment problems.
9. Summary
There are a thousand Hamlets in the eyes of a thousand viewers.
So the above may meet the tastes of some students, or may not meet the tastes of others, so I also have a black technology website Programming fonts[1]. You can choose other fonts that suit you. You can also share your favorite fonts through the official account: Felordcn and leave a message to tell everyone.
References
[1]
Programming Fonts: https://app.programmingfonts.org/
at last
Just compiled a full set of the latest high-quality technical information in 2020 and sent it to you for free! (The original price is at least 8999 yuan, over 2000G!)
Collect it below! !
1. Like + comment (check "Forward")
2. Pay attention to the editor's private messages. Click on the profile picture to follow. And private message reply keyword: 1024
Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/Programming%20font%20sharing%20Make%20programming%20full%20of%20artistic%20color%20matching.html
评论列表(196条)
测试