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 sad when I look at the big text. Start google and find the bag ttf-liberatio.
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 sad when I look at the big text.
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 "Application/document/desktop" font to Liberation Sans 9 and the "window title" font to Liberation Sans Bold 9, the font of "equal width" is adjusted to Liberation Mono 9. If it is a split screen, the font size can be adjusted 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 ~ /. Add the following content to the gtkrc-2.0:
Style "gtkcompact "{
Font_name = "Sans 8"
GtkButton: default_border = {0, 0, 0}
GtkButton: default_outside_border = {0, 0, 0}
GtkButtonBox: child_min_width = 0
GtkButtonBox: child_min_heigth = 0
GtkButtonBox: child_internal_pad_x = 0
GtkButtonBox: child_internal_pad_y = 0
GtkMenu: vertical-padding = 1
GtkMenuBar: internal_padding = 0
GtkMenuItem: horizontal_padding = 4
GtkOptionMenu: indicator_size = 0
GtkOptionMenu: indicator_spacing = 0
GtkPaned: handle_size = 4
GtkRange: trough_border = 0
GtkRange: stepper_spacing = 0
GtkScale: value_spacing = 0
GtkScrolledWindow: scrollbar_spacing = 0
GtkExpander: expander_size = 10
GtkExpander: expander_spacing = 0
GtkTreeView: vertical-separator = 0
GtkTreeView: horizontal-separator = 0
GtkTreeView: expander-size = 8
GtkTreeView: fixed-height-mode = TRUE
GtkWidget: focus_padding = 0
}
Class "GtkWidget" style "gtkcompact"