C-如何在Ncurses中更改字体大小? [英] C - How to change font size in Ncurses?

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

问题描述

反正在那里吗?我似乎找不到任何执行此操作的功能.我尝试使用Google搜索,但找不到任何内容.

Is there anyway? I cant seem to find any function that does this. I tried googling this but could not find anything.

推荐答案

我认为这是不可能的.终端不适合这样的事情.它用于以有时变化的颜色显示文本.如果要更改字体大小,则需要打开一个窗口并在其上绘制(这实际上可能不是正确的术语.图形不是我的专长).如果这是您要执行的操作,建议您研究sdl.设置非常简单,并且易于使用(IMO).而且因为我知道stackoverflow不喜欢Flamewars,所以我绝不是说它是最好的.我肯定有很多一样好的替代品.我只是没有用过

I do not believe it is possible. The terminal is not for such things. It is meant for displaying text in sometimes varying colors. If you want to change the font size, you would need to open a window and draw to it (That might not actually be the correct term. Graphics aren't my forte). If this is what you want to do, I suggest looking into sdl. It is fairly simple to set up and is easy (IMO) to use. And because I know stackoverflow doesn't like flamewars, I am by no means saying it is the best. Im sure there are plenty of alternatives that are just as good. I just have not used them

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

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