eclipse中 中文字体大小修改; 只修改中文的


在myeclipse菜单栏中点击window -- preferences -- 衡颤简general --下面找到colors and fonts,右边点击basic 咐裤下面找到text font 。 然后点击edit,在弹出框中就可以调节字体大小。

如洞亮下图:


打开eclipse-preferences-General->竖雹搜Appearance->Colors and Fonts,打开basic,双击Text Font, 微软雅黑 不是@微肆毁软雅黑 否则变成横版余历字体
将$Eclipse目录$/plugins/org.eclipse.jface_3.7.0.I20110522-1430.jar中/org/eclipse/弯源jface/resources下你的系统桐闹瞎对应.properties文件的字体那几行,里边有字体大小。
这是手动在文件中修改的办法。另局空外1楼的也可以的。
如:里边的jfacefonts_windows7.properties
###############################################################################
# Copyright (c) 2010 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
# Font file for JFace when running under Windows7
#############################################################
# START NON-TRANSLATABLE
org.eclipse.jface.bannerfont.0=Tahoma-bold-10

org.eclipse.jface.headerfont.0=Tahoma-bold-12

org.eclipse.jface.textfont.0=Courier New-regular-10
org.eclipse.jface.textfont.1=Courier-regular-10
org.eclipse.jface.textfont.2=Lucida Console-regular-9

# END NON-TRANSLATABLE
操作步骤:打开Elcipse,点击菜单栏上的“Windows”——点击“Preferences”——坦洞点击“Genneral”——点击“Appearance”——点击“Colors and Font”——在右侧框展开“java”文件夹--双击“Text Font”——在弹出窗选择“Courier New”(注:这里可能找不到“Courier New”,点击字体选择框左下角的“显示更多字体”链接来打开设置字体的控制面板,哪凯找到“Courier New”,右键选择“显示”即可激活该字体)——点击按钮“确定让缓枯”——点击按钮“OK”,完成。
我发现模薯锋把eclipse-preferences-General->Appearance->Colors and Fonts中手段的字体改成旦晌courier new就挺好