visual-studio 默认的 Visual Studio 2010 和 2008 字体

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3450595/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:20:11  来源:igfitidea点击:

Default Visual Studio 2010 and 2008 font

visual-studiofonts

提问by ehpc

What is the default font (and its size) in the Visual Studio 2010 and 2008 editor?

Visual Studio 2010 和 2008 编辑器中的默认字体(及其大小)是多少?

回答by Dan Diplo

In Visual Studio 2008 the default font is Courier New (size 10) but in Visual Studio 2010 the default font is Consolas (size 10).

在 Visual Studio 2008 中,默认字体是 Courier New(大小 10),但在 Visual Studio 2010 中,默认字体是 Consolas(大小 10)。

回答by Mechamonkey

You can see what it's set to in Tools -> Options -> Environment -> Fonts and Colors.

您可以在工具 -> 选项 -> 环境 -> 字体和颜色中查看它的设置。

My Visual Studio 2010 is set to Consolas 10 as the default Text Editor setting.

我的 Visual Studio 2010 设置为 Consolas 10 作为默认文本编辑器设置。

回答by Paul Dixon

The default font also depends on the language version of Visual Studio and the language of the operating system or the system locale. For example English VS 2008 on Japanese Windows defaults to MS Gothic.

默认字体还取决于 Visual Studio 的语言版本和操作系统的语言或系统区域设置。例如,日语 Windows 上的英语 VS 2008 默认为 MS Gothic。

回答by Jaded

In VS2012 it can be Segoe UI size 10 also.

在 VS2012 中,它也可以是 Segoe UI 大小 10。

回答by CodePlus

It's Consolas Size 10 For My Visual Studio!

这是我的 Visual Studio 的 Consolas 尺寸 10!

C++

C++

#include <iostream>
#include "Conio.h"
using namespace std;

void main(){
int num1;
cout << "What's your favourite number:   ";
cin >> num1;
cout << endl;
cout << "Cool!" << num1 << " is my favourite number too!" << endl;
_getch();

}