---
title: "Win7下Eclipse中文字体太小--转载"
author: "冰上王国"
date: "2014-11-18T22:01:52Z"
tags: []
categories: ["编程语言"]
slug: "win7-eclipse"
draft: false
lastmod: "2014-11-18T22:01:52Z"
id: 2157775
url: "https://binwang-software.iteye.com/blog/2157775"
---

最近新装了Win7，打开eclipse3.7中文字体很小，简直难以辨认。在网上搜索发现这是由于Eclipse 3.7 用的字体是 Consolas，显示中文的时候默认太小了。  
   解决方式有两种：  
一、把字体设置为Courier New   
 操作步骤：打开Elcipse，点击菜单栏上的“Windows”——点击“Preferences”——点击“Genneral”——点击“Appearance”——点击“Colors and Font”——在右侧框展开“Basic”文件夹--双击“Text Font”——在弹出窗选择“Courier New”（注：这里可能找不到“Courier New”，点击字体选择框左下角的“显示更多字体”链接来打开设置字体的控制面板，找到“Courier New”，右键选择“显示”即可激活该字体）——点击按钮“确定”——点击按钮“OK”，完成。  
二、使用混合字体代替Consolas字体。  
 操作步骤：  
1.下载Consolas和微软雅黑混合字体（地址：[http://files.cnblogs.com/icelyb24/YaHei.Consolas.1.12.rar](http://files.cnblogs.com/icelyb24/YaHei.Consolas.1.12.rar)）  
2.解压之后，把YaHei.Consolas.1.12.ttfw文件复制到C:\\Windows\\Fonts目录下，完成字体的安装  
3.打开Elcipse，点击菜单栏上的“Windows”——点击“Preferences”——点击“Genneral”——点击“Appearance”——点击“Colors and Font”——在右侧框展开“Basic”文件夹--双击“Text Font”——在弹出窗选择“YaHei.Consolas”——点击按钮“确定”——点击按钮“OK”，完成。