如何在PyScripter中更改字体(大小/字体)? [英] How to change font (size/family) in PyScripter?

查看:389
本文介绍了如何在PyScripter中更改字体(大小/字体)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始参加在线计算机科学课程,以学习Python.我使用PyScripter,在站点上,示例在"Source Code Pro"中.我真的很喜欢这种字体,并且已经下载了该字体并在Notepad ++中使用了它,但是我也想知道如何在PyScripter中使用它,但是在编辑面板或上下文菜单中找不到允许更改字体的位置. (此外,文本太小).

I just started taking an online course for computer science learning Python. I use PyScripter, and at the site, the examples are in "Source Code Pro". I really like that font, and have already downloaded it and use it in Notepad++, but I would also like to know how to use it in PyScripter, but I cannot find anywhere in the editing panels or context menus that allow for font changing. (Additionally, the text is too small).

我不知道Stack Overflow是否是一个理想的选择,因为我认为SO意味着实际的程序问题,但是我到处都在Google上搜索,这是我的最后选择.

I don't know if Stack Overflow is a great place for this as I think SO is meant for actual programmatic problems, but I've googled everywhere and this is my last resort.

任何帮助将不胜感激!

我正在Windows XP Professional上使用PyScripter for Python 2.7(目前).我还想不必使用皮肤编辑器,因为我只想更改字体系列.

I am using PyScripter for Python 2.7 (for now) on Windows XP Professional. I would also like to not have to use skin editors, as I only want to change the font family.

推荐答案

此答案的配置:Windows XP SP3上的Pyscripter 2.4.3.0(当前最新),已安装了许多字体,并且在Pyscripter中可用.已安装Python26和Python27.

Configuration for this answer: Pyscripter 2.4.3.0 (latest at this time) on Windows XP SP3 with numerous fonts already installed and available in Pyscripter. Python26 and Python27 installed.

注意:帮助文件显示"Pyscripter要求使用等宽字体或非比例字体."

Note: The helpfile says "Pyscripter requires the use of monospace or non-proportional fonts."

程序:

  1. 搜索并下载了源代码专业版(v1.017)
  2. 按照说明进行安装
  3. "Pyscripter工具"菜单>选项">编辑器选项"
  4. 显示"标签>单击字体"
  5. 从字体列表中选择源代码专业版"
  6. 根据需要选择样式和大小
  7. 按确定"接受字体选项
  8. 按确定"接受版本"选项,并将设置应用于当前环境
  9. Source Code Pro现在是默认字体

在Pyscripter中设置字体系列,样式和大小: http://i.stack.imgur .com/qhppd.png (WTH,显然我太la脚了,无法嵌入图像或任何超链接... O_o)

Setting the font family, style and size in Pyscripter: http://i.stack.imgur.com/qhppd.png (WTH, Apparently I am too lame to be trusted with embedding images or any hyperlinks... O_o)

这篇关于如何在PyScripter中更改字体(大小/字体)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆