In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install and use the most suitable programming font for programmers under Linux, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
JetBrains Mono is an open source font developed by JetBrains, which can be used for free commercial use. Just like the Mono with its name, Monospaced Font, it is an equal width font designed for developers.
Why is it designed specifically for developers?
Because the current popular fonts do not take into account the beauty and comfort when reading code development, often at the end of the day, your eyes will inevitably be dry and uncomfortable. Therefore, in the design stage of JetBrains Mono, it fully took into account the eye fatigue problems that may be caused by long hours of work, such as the size and shape of letters, the amount of space, natural equal width balance, unnecessary details, hyphenation, and indistinguishable symbols, etc., and finally designed such a font.
Properties:
Increase the height of letters to get a better reading experience
Suitable for browsing code
Hyphenation specific to reading code
JetBrains Mono is available free of charge and open source.
Font weight and italic settin
The width of the characters remains standard, but the height of lowercase letters is maximized. This approach keeps the lines of code as long as developers expect, and because each letter takes up more pixels, it helps to improve rendering.
Consider the comparison of other fonts in this body language. For example, the letters in Consolas are slightly wider, but the letters are still very small, which forces you to increase the font size a little to make the font more readable. As a result, lines of code tend to take longer than expected.
The standard width letters of the JetBrains Mono help keep the lines as long as they are expected.
The oval is close to the rectangular symbol, which makes the whole text pattern clearer.
The outside of the oval ensures that there are no other obstacles to your eyes when scanning the text vertically.
The font form of JetBrains Mono is very simple and has no unnecessary details. Presented in a small size, the text looks clearer.
The simpler the form, the faster the eyes can see, and the less energy the brain needs to process.
The uniqueness of symbols
"1", "l" and "I" are all easy to distinguish.
Zero has a point in the middle. The letter "O" is not available.
The shape of commas is different from that of periods, making them easier to distinguish when they are small. The same is true of derivative symbols.
Starting with version 2019.3, JetBrains Mono fonts will be provided with IDE, and of course, you can download it and use it in any other editor you need.
This installation note was tested on Ubuntu 20.04 LTS, but should work on all Linux.
Download the latest version of the font and extract it:
Linuxmi@linuxmi:~/www.linuxmi.com$ wget https://download.jetbrains.com/fonts/JetBrainsMono-2.221.zip linuxmi@linuxmi:~/www.linuxmi.com$ unzip JetBrainsMono-2.221.zip
Install fonts into the user's font directory
Linuxmi@linuxmi:~/www.linuxmi.com/fonts/ttf$ mv JetBrains*.ttf / .local/share/fonts/
Or system-wide:
Linuxmi@linuxmi:~/www.linuxmi.com/fonts/ttf$ sudo mv JetBrains*.ttf / usr/share/fonts/
Select the Mono font in the terminal
Python Code:
C++ Code:
The above is all the contents of the article "how to install and use the most suitable programming fonts for programmers under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.