My Ubuntu has always been beautifying through some common beautification methods and installing some commercial fonts. It can be seen from the past. However, it is necessary to use eclipse in recent work,
It is found that eclipse obviously has a large font in Linux, which is opposite to the display on the Windows platform that I used to use in the past. It wastes a lot of screen space and I feel like I'm just getting stuck with it.
Sad feelings.
Start Google and find the bag:
TTF-liberation-free fonts with the same metrics as times, Arial
And courier
Metrics, which is the most beautiful as it is used in habits, can be installed through apt-get:
Sudo apt-Get install TTF-Liberation
After the installation is complete, open the font property and change the fonts of "application/document/desktop" to liberation sans.
9. Adjust the "window title" font to liberation sans bold 9, and "equal width" to liberation mono.
9; if it is a high split screen, you can adjust the font size to 10. You can adjust the font rendering to your satisfaction.
After this adjustment, if eclipse uses the default system font, it is basically still visible, but the indent of the navigation tree is too wide, you can ~ /. Gtkrc-2.0 in
Add the following content:
Java
Code
- Style
"Gtkcompact"
{
- Gtktreeview: vertical-separator = 1
- Gtktreeview: horizontal-separator = 1
- # Makes treeviews less spacy
- Gtkwidget: Focus-line-width = 1
- Gtkwidget: focus_padding = 0
- }
- Class
"Gtkwidget"
Style
"Gtkcompact"
style "gtkcompact" {GtkTreeView::vertical-separator=1GtkTreeView::horizontal-separator=1# Makes treeviews less spacyGtkWidget::focus-line-width=1GtkWidget::focus_padding=0}class "GtkWidget" style "gtkcompact"
After restarting X, the effect was very good and I felt that I had gained a lot of experience.
==========
Haha, I was invited to compare the menu font with pidgin. In this way, I don't have a picture. You can compare it with yourself: